changeset 3974:a6b0b01511ba

pstoedit: update for msys build * src/pstoedit-3-nosecapi.patch: update patch
author John Donoghue
date Tue, 16 Jun 2015 12:18:59 -0400
parents 4f586cfb8438
children 9c875e7a344a
files src/pstoedit-3-nosecapi.patch
diffstat 1 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pstoedit-3-nosecapi.patch	Tue Jun 16 12:12:49 2015 -0400
+++ b/src/pstoedit-3-nosecapi.patch	Tue Jun 16 12:18:59 2015 -0400
@@ -26,3 +26,26 @@
  
  /* begin standard C headers. */
  #include <stdio.h>
+diff -ur pstoedit-3.70.orig/src/fillpoly.cpp pstoedit-3.70/src/fillpoly.cpp
+--- pstoedit-3.70.orig/src/fillpoly.cpp	2015-06-13 07:21:31.042850400 -0400
++++ pstoedit-3.70/src/fillpoly.cpp	2015-06-13 07:28:44.826540800 -0400
+@@ -1,6 +1,6 @@
+ /* this file is taken from the hp2xx project (http://www.gnu.org/software/hp2xx/hp2xx.html) 
+    and slightly adapted to fit into pstoedit s framework */ 
+-
++#include "cppcomp.h"
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff -ur pstoedit-3.70.orig/src/drvwmf.cpp pstoedit-3.70/src/drvwmf.cpp
+--- pstoedit-3.70.orig/src/drvwmf.cpp	2015-06-13 08:02:48.035020200 -0400
++++ pstoedit-3.70/src/drvwmf.cpp	2015-06-13 08:03:33.555528400 -0400
+@@ -22,6 +22,8 @@
+     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ 
+ */
++#include "cppcomp.h"
++
+ #include "drvwmf.h"
+ 
+ #include I_string_h