diff options
Diffstat (limited to 'graphics/libemf/files/patch-libemf+libemf.h')
-rw-r--r-- | graphics/libemf/files/patch-libemf+libemf.h | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/graphics/libemf/files/patch-libemf+libemf.h b/graphics/libemf/files/patch-libemf+libemf.h index 2f7fe8edd0c9..c68bd22daa43 100644 --- a/graphics/libemf/files/patch-libemf+libemf.h +++ b/graphics/libemf/files/patch-libemf+libemf.h @@ -1,25 +1,20 @@ ---- libemf/libemf.h.orig Tue Jan 29 13:54:27 2002 -+++ libemf/libemf.h Fri Oct 24 17:04:27 2003 -@@ -21,16 +21,22 @@ - #ifndef _LIBEMF_H - #define _LIBEMF_H 1 - -+#include <iostream> - #include <cmath> - #include <vector> - #include <map> - #include <functional> -+#if __GNUC__ > 2 -+#include <backward/function.h> -+#endif - #include <algorithm> - - #include <config.h> - #include <emf.h> - - #include <wine/w16.h> -+ -+using namespace std; - - namespace EMF { - /*! +--- libemf/libemf.h.orig Wed Mar 17 20:00:10 2004 ++++ libemf/libemf.h Wed Mar 17 20:00:10 2004 +@@ -338,7 +338,7 @@ + fread( &dword, sizeof(DWORD), 1, fp_ ); + return *this; + } +-#if !defined(__alpha__) ++#if !defined(__alpha__) && !defined(__amd64__) && !defined(__ia64__) && !defined(__sparc64__) + /*! + * Output a long int to the stream (swabbed). + * \param long long int to output. +@@ -408,7 +408,7 @@ + fread( &int_, sizeof(INT), 1, fp_ ); + return *this; + } +-#if !defined(__alpha__) ++#if !defined(__alpha__) && !defined(__amd64__) && !defined(__ia64__) && !defined(__sparc64__) + /*! + * Output a (long) unsigned int to the stream (swabbed). + * \param uint (long) unsigned int to output. |