Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151799236
D50350.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1014 B
Referenced Files
None
Subscribers
None
D50350.id.diff
View Options
diff --git a/devel/py-pyopencl/Makefile b/devel/py-pyopencl/Makefile
--- a/devel/py-pyopencl/Makefile
+++ b/devel/py-pyopencl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pyopencl
PORTVERSION= 2018.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pyopencl/files/patch-src_wrap__constants.cpp b/devel/py-pyopencl/files/patch-src_wrap__constants.cpp
new file mode 100644
--- /dev/null
+++ b/devel/py-pyopencl/files/patch-src_wrap__constants.cpp
@@ -0,0 +1,11 @@
+--- src/wrap_constants.cpp.orig 2025-05-13 14:38:07 UTC
++++ src/wrap_constants.cpp
+@@ -67,7 +67,7 @@ void pyopencl_expose_constants(py::module &m)
+ #define DECLARE_EXC(NAME, BASE) \
+ static py::exception<pyopencl::error> CL##NAME(m, #NAME, BASE);
+
+- DECLARE_EXC(Error, NULL);
++ DECLARE_EXC(Error, nullptr);
+ DECLARE_EXC(MemoryError, CLError.ptr());
+ DECLARE_EXC(LogicError, CLError.ptr());
+ DECLARE_EXC(RuntimeError, CLError.ptr());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 6:19 PM (5 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31301564
Default Alt Text
D50350.id.diff (1014 B)
Attached To
Mode
D50350: devel/py-pyopencl: Pass nullptr instead of NULL to unique_ptr constructor
Attached
Detach File
Event Timeline
Log In to Comment