pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/parallel/pocl
Module Name: pkgsrc
Committed By: nia
Date: Sat Aug 3 09:54:16 UTC 2024
Modified Files:
pkgsrc/parallel/pocl: distinfo
Added Files:
pkgsrc/parallel/pocl/patches: patch-lib_CL_clReleaseCommandBufferKHR.c
patch-lib_CL_devices_proxy_pocl__proxy.c
Log Message:
pocl: alloca.h is not portable.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/parallel/pocl/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/parallel/pocl/patches/patch-lib_CL_clReleaseCommandBufferKHR.c \
pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_proxy_pocl__proxy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/parallel/pocl/distinfo
diff -u pkgsrc/parallel/pocl/distinfo:1.9 pkgsrc/parallel/pocl/distinfo:1.10
--- pkgsrc/parallel/pocl/distinfo:1.9 Sat Jul 6 16:16:06 2024
+++ pkgsrc/parallel/pocl/distinfo Sat Aug 3 09:54:16 2024
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.9 2024/07/06 16:16:06 adam Exp $
+$NetBSD: distinfo,v 1.10 2024/08/03 09:54:16 nia Exp $
BLAKE2s (pocl-6.0.tar.gz) = 41c872fa3c88593a4f9eecc1788cabb68b0c34906ec9d88ab545f449f3a0ce75
SHA512 (pocl-6.0.tar.gz) = a24efadbbb81c810cd5c4bbb8abfa75b9bbdfeca786e8471dd75d40a78024d04c1b5c5a7114e75e1eb70a1b6a3756bb47ba741de0f1c4d1416fbce4688d62cc0
Size (pocl-6.0.tar.gz) = 2466652 bytes
+SHA1 (patch-lib_CL_clReleaseCommandBufferKHR.c) = e7ff54e189527b58ff719c51e0d365b3096a7607
+SHA1 (patch-lib_CL_devices_proxy_pocl__proxy.c) = 774f4a9425c7d5f2820d4c8858a90ce8299b8897
Added files:
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_clReleaseCommandBufferKHR.c
diff -u /dev/null pkgsrc/parallel/pocl/patches/patch-lib_CL_clReleaseCommandBufferKHR.c:1.1
--- /dev/null Sat Aug 3 09:54:16 2024
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_clReleaseCommandBufferKHR.c Sat Aug 3 09:54:16 2024
@@ -0,0 +1,18 @@
+$NetBSD: patch-lib_CL_clReleaseCommandBufferKHR.c,v 1.1 2024/08/03 09:54:16 nia Exp $
+
+alloca.h is not portable.
+
+--- lib/CL/clReleaseCommandBufferKHR.c.orig 2024-08-03 09:51:22.289858195 +0000
++++ lib/CL/clReleaseCommandBufferKHR.c
+@@ -25,7 +25,11 @@
+ #include "pocl_mem_management.h"
+ #include "pocl_util.h"
+
++#if defined(__linux) || defined(__sun)
+ #include <alloca.h>
++#else
++#include <stdlib.h>
++#endif
+
+ CL_API_ENTRY cl_int CL_API_CALL
+ POname (clReleaseCommandBufferKHR) (cl_command_buffer_khr command_buffer)
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_proxy_pocl__proxy.c
diff -u /dev/null pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_proxy_pocl__proxy.c:1.1
--- /dev/null Sat Aug 3 09:54:16 2024
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_proxy_pocl__proxy.c Sat Aug 3 09:54:16 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_CL_devices_proxy_pocl__proxy.c,v 1.1 2024/08/03 09:54:16 nia Exp $
+
+alloca.h is not portable.
+
+--- lib/CL/devices/proxy/pocl_proxy.c.orig 2024-08-03 09:51:54.171097319 +0000
++++ lib/CL/devices/proxy/pocl_proxy.c
+@@ -31,7 +31,9 @@
+ #include "devices.h"
+
+ #include <assert.h>
++#if defined(__linux) || defined(__sun)
+ #include <alloca.h>
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
Home |
Main Index |
Thread Index |
Old Index