svn commit: r552729 - head/biology/mothur/files
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Oct 19 10:30:12 UTC 2020
Author: pkubaj
Date: Mon Oct 19 10:30:11 2020
New Revision: 552729
URL: https://svnweb.freebsd.org/changeset/ports/552729
Log:
biology/mothur: fix build on powerpc64le
New PPC hardware usually uses little-endian systems. Let __BIG_ENDIAN__ and __LITTLE_ENDIAN__ define endianness.
Added:
head/biology/mothur/files/patch-source_endiannessmacros.h (contents, props changed)
Added: head/biology/mothur/files/patch-source_endiannessmacros.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/biology/mothur/files/patch-source_endiannessmacros.h Mon Oct 19 10:30:11 2020 (r552729)
@@ -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
More information about the svn-ports-all
mailing list