[147999] trunk/dports/graphics/libemf
khindenburg at macports.org
khindenburg at macports.org
Sat Apr 23 17:02:52 PDT 2016
Revision: 147999
https://trac.macports.org/changeset/147999
Author: khindenburg at macports.org
Date: 2016-04-23 17:02:52 -0700 (Sat, 23 Apr 2016)
Log Message:
-----------
libemf: add patch for leopard ppc #51216
Modified Paths:
--------------
trunk/dports/graphics/libemf/Portfile
Added Paths:
-----------
trunk/dports/graphics/libemf/files/
trunk/dports/graphics/libemf/files/patch-ppc.diff
Modified: trunk/dports/graphics/libemf/Portfile
===================================================================
--- trunk/dports/graphics/libemf/Portfile 2016-04-23 17:30:59 UTC (rev 147998)
+++ trunk/dports/graphics/libemf/Portfile 2016-04-24 00:02:52 UTC (rev 147999)
@@ -26,6 +26,8 @@
depends_build port:coreutils
+patchfiles patch-ppc.diff
+
use_autoreconf yes
test.run yes
Added: trunk/dports/graphics/libemf/files/patch-ppc.diff
===================================================================
--- trunk/dports/graphics/libemf/files/patch-ppc.diff (rev 0)
+++ trunk/dports/graphics/libemf/files/patch-ppc.diff 2016-04-24 00:02:52 UTC (rev 147999)
@@ -0,0 +1,47 @@
+--- include/libEMF/wine/winnt.h-orig 2015-11-21 15:27:55.000000000 +0100
++++ include/libEMF/wine/winnt.h 2016-04-23 10:39:35.000000000 +0200
+@@ -49,7 +49,7 @@
+ # define WORDS_BIGENDIAN
+ # define BITFIELDS_BIGENDIAN
+ # undef ALLOW_UNALIGNED_ACCESS
+-#elif defined(__PPC__)
++#elif defined(__PPC__) || (__ppc__)
+ # define WORDS_BIGENDIAN
+ # define BITFIELDS_BIGENDIAN
+ # undef ALLOW_UNALIGNED_ACCESS
+@@ -1102,7 +1102,7 @@
+ #endif /* _MIPS_ */
+
+ /* PowerPC context definitions */
+-#ifdef __PPC__
++#if defined(__PPC__) || (__ppc__)
+
+ #define CONTEXT_CONTROL 0x0001
+ #define CONTEXT_FLOATING_POINT 0x0002
+@@ -1223,7 +1223,7 @@
+ DWORD Parameter7;
+ } STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER;
+
+-#endif /* __PPC__ */
++#endif /* __PPC__ || __ppc__ */
+
+ #ifdef __sparc__
+
+@@ -1570,7 +1570,7 @@
+
+ #endif /* __s390__ */
+
+-#ifdef __PPC__
++#if defined(__PPC__) || (__ppc__)
+
+ /* FIXME: use getcontext() to retrieve full context */
+ #define _GET_CONTEXT \
+@@ -1595,7 +1595,7 @@
+ void WINAPI name ( t1 a1, t2 a2, t3 a3, t4 a4 ) \
+ { _GET_CONTEXT; fn( a1, a2, a3, a4, &context ); }
+
+-#endif /* __PPC__ */
++#endif /* __PPC__ || __ppc__ */
+
+
+ #ifndef DEFINE_REGS_ENTRYPOINT_0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160423/c8c136e0/attachment.html>
More information about the macports-changes
mailing list