ports/186001: devel/opencl: Upstream changes of the header files by Khronos enforces new hashes

O. Hartmann ohartman at zedat.fu-berlin.de
Wed Jan 22 15:50:00 UTC 2014


>Number:         186001
>Category:       ports
>Synopsis:       devel/opencl: Upstream changes of the header files  by Khronos enforces new hashes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 22 15:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        
>Organization:
>Environment:
>Description:
Regarding a pkg-fallout on package build servers, an update of the hashes of some header files is required. Khronos changed some bytes, so the checksum mismatches.

Patch attached.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nur opencl.orig/Makefile opencl/Makefile
--- opencl.orig/Makefile	2014-01-22 16:32:23.000000000 +0100
+++ opencl/Makefile	2014-01-22 16:35:53.000000000 +0100
@@ -3,7 +3,7 @@
 
 PORTNAME=	opencl
 PORTVERSION=	1.2
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	devel
 MASTER_SITES=	http://www.khronos.org/registry/cl/api/${PORTVERSION}/
 DISTFILES=	opencl.h cl_platform.h cl.h cl_ext.h cl_dx9_media_sharing.h \
diff -Nur opencl.orig/distinfo opencl/distinfo
--- opencl.orig/distinfo	2014-01-22 16:32:23.000000000 +0100
+++ opencl/distinfo	2014-01-22 16:35:53.000000000 +0100
@@ -4,8 +4,8 @@
 SIZE (opencl/cl_platform.h) = 41127
 SHA256 (opencl/cl.h) = a5465c2ed1a0687878c8f7aa25f94626d7cd3a3868163ecaa6e8b36d6ed52368
 SIZE (opencl/cl.h) = 61545
-SHA256 (opencl/cl_ext.h) = d23a11d1daebe39c6f5a9743f356bb58cdf0bf5a2019c723a6e2dc1e7dcb0360
-SIZE (opencl/cl_ext.h) = 13646
+SHA256 (opencl/cl_ext.h) = ab8dcf1e04ac63cc5a68fdfb4787a44a25a9c0c129ed7eda046e7911af3d4ebd
+SIZE (opencl/cl_ext.h) = 13766
 SHA256 (opencl/cl_dx9_media_sharing.h) = 26fb40bac8e229747bdc27b350b836e3703c1e946cb40893f4c8ab2289203920
 SIZE (opencl/cl_dx9_media_sharing.h) = 5157
 SHA256 (opencl/cl_d3d10.h) = c7adb38a19663ee240977afc64903f4638d9c5c03ca478793c9f7a15c1c6ac2b
diff -Nur opencl.orig/files/patch-cl.hpp opencl/files/patch-cl.hpp
--- opencl.orig/files/patch-cl.hpp	2014-01-22 16:32:23.000000000 +0100
+++ opencl/files/patch-cl.hpp	2014-01-22 16:35:53.000000000 +0100
@@ -1,12 +1,11 @@
---- cl.hpp.orig	2013-09-01 13:35:56.642641000 +0000
-+++ cl.hpp
-@@ -210,11 +210,10 @@
+--- cl.hpp.orig	2013-08-20 13:33:04.000000000 +0200
++++ cl.hpp	2013-08-20 13:35:49.000000000 +0200
+@@ -210,11 +210,9 @@
  #include <string>
  #endif 
  
 -#if defined(linux) || defined(__APPLE__) || defined(__MACOSX)
-+#if defined(linux) || defined(__APPLE__) || defined(__MACOSX) \
-+ || defined(__FreeBSD__) || defined(__DragonFly__)
++#if defined(__FreeBSD__) || defined(linux) || defined(__APPLE__) || defined(__MACOSX)
  #include <alloca.h>
  
 -#include <emmintrin.h>
@@ -14,7 +13,7 @@
  #endif // linux
  
  #include <cstring>
-@@ -1037,7 +1036,7 @@ namespace detail {
+@@ -1037,7 +1035,7 @@
  #endif // !_WIN32
      }
  
@@ -23,7 +22,7 @@
  }; // namespace detail
  
      
-@@ -2037,6 +2036,26 @@ public:
+@@ -2037,6 +2035,26 @@
  #endif // #if defined(CL_VERSION_1_1)
  };
  


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list