svn commit: r547864 - head/math/py-or-tools/files
Mark Linimon
linimon at FreeBSD.org
Sun Sep 6 18:40:37 UTC 2020
Author: linimon
Date: Sun Sep 6 18:40:36 2020
New Revision: 547864
URL: https://svnweb.freebsd.org/changeset/ports/547864
Log:
Fix build on powerpc64 by extending the clauses by which ARCH_K8 is
*not* defined.
This should be upstreamed.
Approved by: portmgr (tier-2 blanket)
Added:
head/math/py-or-tools/files/patch-ortools_base_integral__types.h (contents, props changed)
Added: head/math/py-or-tools/files/patch-ortools_base_integral__types.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-or-tools/files/patch-ortools_base_integral__types.h Sun Sep 6 18:40:36 2020 (r547864)
@@ -0,0 +1,11 @@
+--- ortools/base/integral_types.h.orig 2020-09-06 04:04:04 UTC
++++ ortools/base/integral_types.h
+@@ -24,7 +24,7 @@
+ #define ARCH_K8
+ #elif defined(__APPLE__) && defined(__GNUC__)
+ #define ARCH_K8 // We only support 64 bit on Mac OS X.
+-#elif defined(__GNUC__) && defined(__LP64__) && !defined(__aarch64__)
++#elif defined(__GNUC__) && defined(__LP64__) && !defined(__aarch64__) && !defined(__powerpc64__)
+ #define ARCH_K8 // Linux x86_64
+ #endif
+
More information about the svn-ports-all
mailing list