aboutsummaryrefslogtreecommitdiffstats
path: root/main/lcms/ppc64le.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-02-15 15:48:28 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-15 15:48:28 +0000
commit738cd2ce25f290bf22f7f04943aeae4501b06bf4 (patch)
tree9154daae2dab9dccd35320dd30769e38f133723f /main/lcms/ppc64le.patch
parent3714e669c9b3dad8b85d2d148c2ee414d466eb4d (diff)
downloadaports-738cd2ce25f290bf22f7f04943aeae4501b06bf4.tar.gz
aports-738cd2ce25f290bf22f7f04943aeae4501b06bf4.tar.bz2
aports-738cd2ce25f290bf22f7f04943aeae4501b06bf4.tar.xz
main/lcms: more ppc64le fixing
Diffstat (limited to 'main/lcms/ppc64le.patch')
-rw-r--r--main/lcms/ppc64le.patch7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/lcms/ppc64le.patch b/main/lcms/ppc64le.patch
index 928e05137f..75bf2cc9fe 100644
--- a/main/lcms/ppc64le.patch
+++ b/main/lcms/ppc64le.patch
@@ -1,11 +1,16 @@
--- lcms-1.19.orig/include/lcms.h
+++ lcms-1.19/include/lcms.h
-@@ -139,7 +139,7 @@
+@@ -139,12 +139,8 @@
# define USE_BIG_ENDIAN 1
#endif
-#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__)
+#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__s390__) || defined(__s390x__)
# define USE_BIG_ENDIAN 1
+-#endif
+-
+-#if TARGET_CPU_PPC
+-# define USE_BIG_ENDIAN 1
#endif
+ #if macintosh