Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2020 10:30:11 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552729 - head/biology/mothur/files
Message-ID:  <202010191030.09JAUBi6002121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010191030.09JAUBi6002121>