view src/pstoedit-3-nosecapi.patch @ 3926:ee802fc5dd9b

gcc: update to 5.1.0, update isl, libgpg_error * src/build-gcc.mk: update version, checksum, remove cloog as a dependancy * src/gcc-isl-1-fixes.patch: remove patch * src/isl-1-fixes.patch: update patch * src/isl.mk: update version, checksum * src/libgpg_error-1-fixes.patch: remove patch * src/libgpg_error.mk: update version, checksum * src/native-gcc.mk: update version, checksum, remove cloog as a dependancy * dist-files.mk: remove gcc-isl-1-fixes.patch, libgpg_error-1-fixes.patch
author John D
date Sun, 03 May 2015 20:38:29 -0400
parents 48a6501044c0
children a6b0b01511ba
line wrap: on
line source

diff -ur pstoedit-3.62.orig/src/cppcomp.h pstoedit-3.62/src/cppcomp.h
--- pstoedit-3.62.orig/src/cppcomp.h	2014-07-25 09:09:48 -0400
+++ pstoedit-3.62/src/cppcomp.h	2014-07-25 09:12:17 -0400
@@ -33,7 +33,12 @@
 # define DLLEXPORT
 #endif
 
-
+#ifdef __MINGW32__
+  #include <_mingw.h>
+  #ifdef MINGW_HAS_SECURE_API
+    #undef MINGW_HAS_SECURE_API
+  #endif
+#endif
 
 
 #ifdef _AIX
diff -ur pstoedit-3.62.orig/src/lexyy.cpp pstoedit-3.62/src/lexyy.cpp
--- pstoedit-3.62.orig/src/lexyy.cpp	2014-07-25 09:19:14 -0400
+++ pstoedit-3.62/src/lexyy.cpp	2014-07-25 09:20:00 -0400
@@ -14,6 +14,7 @@
 #endif
 
 /* First, we deal with  platform-specific or compiler-specific issues. */
+#include "cppcomp.h"
 
 /* begin standard C headers. */
 #include <stdio.h>