summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
Diffstat (limited to 'source/l')
-rw-r--r--source/l/FTBFSlog3
-rw-r--r--source/l/libcap-ng/30453b6553948cd05c438f9f509013e3bb84f25b.patch25
-rwxr-xr-xsource/l/libcap-ng/libcap-ng.SlackBuild5
3 files changed, 32 insertions, 1 deletions
diff --git a/source/l/FTBFSlog b/source/l/FTBFSlog
index 550790db3..ffc697bf1 100644
--- a/source/l/FTBFSlog
+++ b/source/l/FTBFSlog
@@ -1,3 +1,6 @@
+Thu Jan 4 20:38:00 UTC 2024
+ libcap-ng: patch to fix build with swig-4.2.0. Thanks to lucabon.
++--------------------------+
Tue Dec 12 19:23:30 UTC 2023
libsoup: patch to fix build with libxml2-2.12. Thanks to marav.
+--------------------------+
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__
+
diff --git a/source/l/libcap-ng/libcap-ng.SlackBuild b/source/l/libcap-ng/libcap-ng.SlackBuild
index 79a6818d8..11c0ce096 100755
--- a/source/l/libcap-ng/libcap-ng.SlackBuild
+++ b/source/l/libcap-ng/libcap-ng.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2016, 2018, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -85,6 +85,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Patch for swig-4.2.0:
+cat $CWD/30453b6553948cd05c438f9f509013e3bb84f25b.patch | patch -p1 --verbose || exit 1
+
autoreconf -vif
# Configure: