summaryrefslogtreecommitdiffstats
path: root/source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch')
-rw-r--r--source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch b/source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch
new file mode 100644
index 000000000..4cd8e9fc1
--- /dev/null
+++ b/source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch
@@ -0,0 +1,25 @@
+commit 30453b6553948cd05c438f9f509013e3bb84f25b
+Author: Steve Grubb <ausearch.1@gmail.com>
+Date: Thu Jan 4 15:06:29 2024 -0500
+
+ Remove python global exception handler since its deprecated
+
+diff --git a/bindings/src/capng_swig.i b/bindings/src/capng_swig.i
+index fcdaf18..fa85e13 100644
+--- a/bindings/src/capng_swig.i
++++ b/bindings/src/capng_swig.i
+@@ -30,13 +30,6 @@
+
+ %varargs(16, signed capability = 0) capng_updatev;
+
+-%except(python) {
+- $action
+- if (result < 0) {
+- PyErr_SetFromErrno(PyExc_OSError);
+- return NULL;
+- }
+-}
+ #endif
+
+ %define __signed__
+