summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-06-23 13:17:27 +0000
committerFabian Groffen <grobian@gentoo.org>2010-06-23 13:17:27 +0000
commit66be3f902f5d331224175b762886a2074b325848 (patch)
tree6cd80ed9059e59832b5b4ef38dae7f2345c076e1 /x11-libs/openmotif/files
parentVersion bump, #191982 (diff)
downloadgentoo-2-66be3f902f5d331224175b762886a2074b325848.tar.gz
gentoo-2-66be3f902f5d331224175b762886a2074b325848.tar.bz2
gentoo-2-66be3f902f5d331224175b762886a2074b325848.zip
Fix compilation on Solaris by applying the same fix as for Darwin
(Portage version: 2.2.00.15842-prefix/cvs/SunOS i386)
Diffstat (limited to 'x11-libs/openmotif/files')
-rw-r--r--x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch5
1 files changed, 4 insertions, 1 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
index feae00305ad6..859fcf3c4047 100644
--- a/x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch
+++ b/x11-libs/openmotif/files/openmotif-2.3.2-darwin.patch
@@ -1,6 +1,9 @@
http://bugs.motifzone.net/showattachment.cgi?attach_id=259
http://bugs.motifzone.net/long_list.cgi?buglist=1479
+Extend the patch to include guard for sun to solve the exact same
+compilation issue on Solaris.
+
--- 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 @@
@@ -8,7 +11,7 @@ http://bugs.motifzone.net/long_list.cgi?buglist=1479
#include "UilDiagDef.h"
#include "UilSarDef.h"
-#if defined(linux)
-+#if defined(linux) || defined(__APPLE__)
++#if defined(linux) || defined(__APPLE__) || defined(sun)
#define YYSTYPE yystype
#endif
#include "UilLexPars.h"