annotate src/pstoedit-3-nosecapi.patch @ 3929:6cb1bf4d1ab4

osmesa: update path to package * src/osmesa.mk: update package urk
author John Donoghue
date Tue, 05 May 2015 15:08:30 -0400
parents 48a6501044c0
children a6b0b01511ba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3667
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
1 diff -ur pstoedit-3.62.orig/src/cppcomp.h pstoedit-3.62/src/cppcomp.h
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
2 --- pstoedit-3.62.orig/src/cppcomp.h 2014-07-25 09:09:48 -0400
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
3 +++ pstoedit-3.62/src/cppcomp.h 2014-07-25 09:12:17 -0400
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
4 @@ -33,7 +33,12 @@
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
5 # define DLLEXPORT
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
6 #endif
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
7
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
8 -
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
9 +#ifdef __MINGW32__
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
10 + #include <_mingw.h>
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
11 + #ifdef MINGW_HAS_SECURE_API
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
12 + #undef MINGW_HAS_SECURE_API
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
13 + #endif
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
14 +#endif
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
15
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
16
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
17 #ifdef _AIX
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
18 diff -ur pstoedit-3.62.orig/src/lexyy.cpp pstoedit-3.62/src/lexyy.cpp
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
19 --- pstoedit-3.62.orig/src/lexyy.cpp 2014-07-25 09:19:14 -0400
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
20 +++ pstoedit-3.62/src/lexyy.cpp 2014-07-25 09:20:00 -0400
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
21 @@ -14,6 +14,7 @@
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
22 #endif
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
23
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
24 /* First, we deal with platform-specific or compiler-specific issues. */
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
25 +#include "cppcomp.h"
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
26
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
27 /* begin standard C headers. */
48a6501044c0 pstoedit: allow native compile with w64
John Donoghue
parents:
diff changeset
28 #include <stdio.h>