summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-03-20 17:48:10 +0000
committerFabian Groffen <grobian@gentoo.org>2010-03-20 17:48:10 +0000
commit67ac7d0eaea7eedef5b671503cfdfed2bbfe518f (patch)
tree75d575e1876b63152c421195dca27d0854447d39 /x11-libs/openmotif/files
parentalpha/sparc stable wrt #307575 (diff)
downloadgentoo-2-67ac7d0eaea7eedef5b671503cfdfed2bbfe518f.tar.gz
gentoo-2-67ac7d0eaea7eedef5b671503cfdfed2bbfe518f.tar.bz2
gentoo-2-67ac7d0eaea7eedef5b671503cfdfed2bbfe518f.zip
Add patch to fix compilation on Mac OS X using patch grabbed from upstream bugtracker
(Portage version: 2.2.00.15819-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'x11-libs/openmotif/files')
-rw-r--r--x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch b/x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch
new file mode 100644
index 000000000000..feae00305ad6
--- /dev/null
+++ b/x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch
@@ -0,0 +1,14 @@
+http://bugs.motifzone.net/showattachment.cgi?attach_id=259
+http://bugs.motifzone.net/long_list.cgi?buglist=1479
+
+--- openmotif-2.3.2.org/clients/uil/UilDefI.h 2004-11-18 08:54:32.000000000 +0000
++++ openmotif-2.3.2/clients/uil/UilDefI.h 2009-11-08 13:24:29.000000000 +0000
+@@ -283,7 +283,7 @@
+ #include "UilIODef.h"
+ #include "UilDiagDef.h"
+ #include "UilSarDef.h"
+-#if defined(linux)
++#if defined(linux) || defined(__APPLE__)
+ #define YYSTYPE yystype
+ #endif
+ #include "UilLexPars.h"