aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-04-25 03:46:48 +0800
committerbeat <beat@FreeBSD.org>2010-04-25 03:46:48 +0800
commitd835b1ef6617bdd5905f8e4ca52f9bd7e6de66dd (patch)
tree80c7f616c8adf14a9bee81136d27cd1085c8a6d2 /devel
parentead349abb7ff4a44b4da0facd563e15010c087dc (diff)
downloadfreebsd-ports-gnome-d835b1ef6617bdd5905f8e4ca52f9bd7e6de66dd.tar.gz
freebsd-ports-gnome-d835b1ef6617bdd5905f8e4ca52f9bd7e6de66dd.tar.zst
freebsd-ports-gnome-d835b1ef6617bdd5905f8e4ca52f9bd7e6de66dd.zip
- Fix build on PowerPC
PR: ports/146019 Submitted by: Andreas Tobler <andreast-list AT fgznet.ch>
Diffstat (limited to 'devel')
-rw-r--r--devel/stlport/files/patch-stlport_stl_config_features.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/devel/stlport/files/patch-stlport_stl_config_features.h b/devel/stlport/files/patch-stlport_stl_config_features.h
index 625088771706..75accdddc5ed 100644
--- a/devel/stlport/files/patch-stlport_stl_config_features.h
+++ b/devel/stlport/files/patch-stlport_stl_config_features.h
@@ -1,6 +1,16 @@
---- ./stlport/stl/config/features.h.orig 2007-08-18 22:45:42.000000000 +0200
-+++ ./stlport/stl/config/features.h 2007-12-23 11:18:22.000000000 +0100
-@@ -218,7 +218,7 @@
+--- stlport/stl/config/features.h.orig 2007-08-18 22:45:42.000000000 +0200
++++ stlport/stl/config/features.h 2010-04-24 20:43:17.000000000 +0200
+@@ -174,7 +174,8 @@
+
+ #if !defined (_STLP_BIG_ENDIAN) && !defined (_STLP_LITTLE_ENDIAN)
+ # if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \
+- defined (__hpux) || defined (macintosh) || defined (_MAC)
++ defined (__hpux) || defined (macintosh) || defined (_MAC) || \
++ defined (__powerpc__)
+ # define _STLP_BIG_ENDIAN 1
+ # elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \
+ defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \
+@@ -218,7 +219,7 @@
#endif
/* Operating system recognition (basic) */
@@ -9,7 +19,7 @@
# define _STLP_UNIX 1
#elif defined(macintosh) || defined (_MAC)
# define _STLP_MAC 1
-@@ -305,6 +305,7 @@
+@@ -305,6 +306,7 @@
#endif
#if (defined (_REENTRANT) || defined (_THREAD_SAFE) || \