Date: Wed, 26 Jul 2017 18:51:40 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446692 - in head/devel/clanlib: . files Message-ID: <201707261851.v6QIpeMT034367@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Jul 26 18:51:40 2017 New Revision: 446692 URL: https://svnweb.freebsd.org/changeset/ports/446692 Log: devel/clanlib: unbreak runtime on non-x86 after r446663 $ methane /usr/local/lib/libclan23SWRender-2.3.so.1: Undefined symbol "_ZN9CL_System20detect_cpu_extensionENS_19CL_CPU_ExtensionX86E" Pointy hat to: jbeich Modified: head/devel/clanlib/Makefile (contents, props changed) head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp (contents, props changed) Modified: head/devel/clanlib/Makefile ============================================================================== --- head/devel/clanlib/Makefile Wed Jul 26 18:46:56 2017 (r446691) +++ head/devel/clanlib/Makefile Wed Jul 26 18:51:40 2017 (r446692) @@ -3,7 +3,7 @@ PORTNAME= clanlib PORTVERSION= 2.3.7 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-2.0/ Modified: head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp ============================================================================== --- head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp Wed Jul 26 18:46:56 2017 (r446691) +++ head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp Wed Jul 26 18:51:40 2017 (r446692) @@ -1,15 +1,11 @@ --- Sources/Core/System/detect_cpu_ext.cpp.orig 2011-11-15 12:15:42 UTC +++ Sources/Core/System/detect_cpu_ext.cpp -@@ -30,6 +30,7 @@ +@@ -30,7 +30,7 @@ #include "Core/precomp.h" #include "API/Core/System/system.h" -+#ifndef CL_DISABLE_SSE2 - #ifdef CL_ARM_PLATFORM +-#ifdef CL_ARM_PLATFORM ++#if defined(CL_ARM_PLATFORM) || defined(CL_DISABLE_SSE2) bool CL_System::detect_cpu_extension(CL_CPU_ExtensionPPC ext) { -@@ -183,3 +184,4 @@ bool CL_System::detect_cpu_extension(CL_CPU_ExtensionX - } - - #endif -+#endif // not CL_DISABLE_SSE2 + throw ("Congratulations, you've just been selected to code this feature!");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707261851.v6QIpeMT034367>