aboutsummaryrefslogtreecommitdiff
path: root/biology/mothur
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-19 10:30:11 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-19 10:30:11 +0000
commit1fd667b47746c5ad655dbacfd08e46e8fe345138 (patch)
tree9ed7a904ac00c8d9ae070e1a893a3ad8bf1d64b3 /biology/mothur
parent70a647577fb8f29d32bbc560c67f9c645a6c17dc (diff)
downloadports-1fd667b47746c5ad655dbacfd08e46e8fe345138.tar.gz
ports-1fd667b47746c5ad655dbacfd08e46e8fe345138.zip
biology/mothur: fix build on powerpc64le
New PPC hardware usually uses little-endian systems. Let __BIG_ENDIAN__ and __LITTLE_ENDIAN__ define endianness.
Notes
Notes: svn path=/head/; revision=552729
Diffstat (limited to 'biology/mothur')
-rw-r--r--biology/mothur/files/patch-source_endiannessmacros.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/biology/mothur/files/patch-source_endiannessmacros.h b/biology/mothur/files/patch-source_endiannessmacros.h
new file mode 100644
index 000000000000..923cfbd9e621
--- /dev/null
+++ b/biology/mothur/files/patch-source_endiannessmacros.h
@@ -0,0 +1,19 @@
+--- source/endiannessmacros.h.orig 2020-10-19 10:22:23 UTC
++++ source/endiannessmacros.h
+@@ -53,16 +53,6 @@
+ # define SP_BIG_ENDIAN
+ #endif
+
+-/*
+- * PowerPC
+- */
+-#if defined(__ppc__) || defined(__ppc)
+-# if defined(SP_LITTLE_ENDIAN)
+-# undef SP_LITTLE_ENDIAN
+-# endif
+-# define SP_BIG_ENDIAN
+-#endif
+-
+ /* Some catch-alls */
+ #if defined(__LITTLE_ENDIAN__) || defined(__LITTLEENDIAN__)
+ # define SP_LITTLE_ENDIAN