svn commit: r446692 - in head/devel/clanlib: . files

Jan Beich jbeich at FreeBSD.org
Wed Jul 26 18:51:41 UTC 2017


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!");


More information about the svn-ports-all mailing list