Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 17:18:50 +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: r568475 - head/graphics/py-pandana/files
Message-ID:  <202103151718.12FHIojo025705@repo.freebsd.org>

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



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