annotate src/pstoedit-3-nosecapi.patch @ 3908:5863c4ed08b1

of-dicom: patch to compile in octave 4.0.0 (Bug #44624) * src/of-dicom-1-fixes.patch: new file * dist-files.mk: add of-dicom-1-fixes.patch * src/of-dicom.mk: allow cross compile
author John Donoghue <john.donoghue@ieee.org>
date Wed, 15 Apr 2015 21:52:37 -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>