view src/mingw-transfig-1-fixes.patch @ 3513:92fdb983b351

allow transfig to compile on w64 systems
author John W. Eaton <jwe@octave.org>
date Fri, 07 Feb 2014 14:30:07 -0500
parents
children
line wrap: on
line source

--- a/fig2dev/fig2dev.h	2014-02-07 14:24:38.387076292 -0500
+++ b/fig2dev/fig2dev.h	2014-02-07 14:23:19.785715605 -0500
@@ -22,6 +22,7 @@
 #include <stdarg.h>
 #include "patchlevel.h"
 #include <math.h>
+#define NO_OLDNAMES
 #include <sys/file.h>
 #include <signal.h>
 #include <string.h>
--- a/fig2dev/dev/genemf.h	2010-03-16 14:18:59.000000000 -0400
+++ b/fig2dev/dev/genemf.h	2014-02-07 14:21:12.785972417 -0500
@@ -62,6 +62,8 @@
 # endif
 #endif
 
+#define BYTE_ORDER 1234
+
 #if defined(BYTE_ORDER) && (BYTE_ORDER == LITTLE_ENDIAN)
 
 # define htofs(x) (x)