svn commit: r568475 - head/graphics/py-pandana/files
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Mar 15 17:18:50 UTC 2021
Author: pkubaj
Date: Mon Mar 15 17:18:50 2021
New Revision: 568475
URL: https://svnweb.freebsd.org/changeset/ports/568475
Log:
graphics/py-pandana: fix build on non-x86
cpuid is amd64/i386-only.
Added:
head/graphics/py-pandana/files/
head/graphics/py-pandana/files/patch-src_contraction__hierarchies_src_libch.cpp (contents, props changed)
Added: head/graphics/py-pandana/files/patch-src_contraction__hierarchies_src_libch.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-pandana/files/patch-src_contraction__hierarchies_src_libch.cpp Mon Mar 15 17:18:50 2021 (r568475)
@@ -0,0 +1,11 @@
+--- src/contraction_hierarchies/src/libch.cpp.orig 2021-03-15 17:17:09 UTC
++++ src/contraction_hierarchies/src/libch.cpp
+@@ -20,7 +20,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
+
+ #include "libch.h"
+ #include "POIIndex/POIIndex.h"
+-#ifdef _OPENMP
++#if defined(_OPENMP) && (defined(__amd64__) || defined(__i386__))
+ #include "Util/HyperThreading.h"
+ #endif
+ namespace CH {
More information about the svn-ports-all
mailing list