Date: Sat, 24 Aug 2019 12:42:02 +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: r509722 - in head/math/amath: . files Message-ID: <201908241242.x7OCg2Ng028610@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sat Aug 24 12:42:02 2019 New Revision: 509722 URL: https://svnweb.freebsd.org/changeset/ports/509722 Log: math/amath: fix build on powerpc* and mips* The big-endian ifdef misses ||. PR: 239298 Approved by: cs@innolan.net (maintainer timeout), linimon (mentor) Added: head/math/amath/files/patch-src_real_prim.h (contents, props changed) Modified: head/math/amath/Makefile Modified: head/math/amath/Makefile ============================================================================== --- head/math/amath/Makefile Sat Aug 24 12:40:26 2019 (r509721) +++ head/math/amath/Makefile Sat Aug 24 12:42:02 2019 (r509722) @@ -13,9 +13,6 @@ COMMENT= Simple command line calculator LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe -NOT_FOR_ARCHS_REASON= Must define endianness - USES= gmake USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} HAS_CONFIGURE= yes Added: head/math/amath/files/patch-src_real_prim.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/amath/files/patch-src_real_prim.h Sat Aug 24 12:42:02 2019 (r509722) @@ -0,0 +1,11 @@ +--- src/real/prim.h.orig 2019-07-18 20:14:48 UTC ++++ src/real/prim.h +@@ -106,7 +106,7 @@ int __kernel_rem_pio2(double* x, double* y, int e0, in + /* Detect other BE CPUs */ + #if !defined(__IEEE_LITTLE_ENDIAN) && !defined(__IEEE_BIG_ENDIAN) + #if defined(PPCCPU) || defined(__PPC__) || \ +- defined(__powerpc__) || defined(__powerpc64__) \ ++ defined(__powerpc__) || defined(__powerpc64__) || \ + defined(__mips__) || defined(__mips) + #define __IEEE_BIG_ENDIAN + #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908241242.x7OCg2Ng028610>