view src/mingw-transfig-1-fixes.patch @ 4037:85abb6c3ec8b

of-netcdf: patch for --enable-64 (Bug #46060) * src/of-netcdf-1-fixes.patch: new file * dist-files.mk: add of-netcdf-1-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Tue, 29 Sep 2015 19:43:19 -0400
parents 92fdb983b351
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)