summaryrefslogtreecommitdiff
path: root/package/libnl/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-13 11:43:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-13 15:06:02 +0100
commit7b8f8b0f07527e973e018a33d90f7dedae7ac842 (patch)
tree6eeaac0a40ee1d6a615e683d0ad96e294ce4757f /package/libnl/patches
parent76518a7e80100ea145986016ac61d7ed0ee491ee (diff)
libnl: disable docs
Diffstat (limited to 'package/libnl/patches')
-rw-r--r--package/libnl/patches/patch-autogen_sh7
-rw-r--r--package/libnl/patches/patch-lib_utils_c6
-rw-r--r--package/libnl/patches/patch-src_lib_utils_c8
3 files changed, 14 insertions, 7 deletions
diff --git a/package/libnl/patches/patch-autogen_sh b/package/libnl/patches/patch-autogen_sh
new file mode 100644
index 000000000..2888ae770
--- /dev/null
+++ b/package/libnl/patches/patch-autogen_sh
@@ -0,0 +1,7 @@
+--- libnl-libnl3_2_29.orig/autogen.sh Fri Dec 30 15:57:01 2016
++++ libnl-libnl3_2_29/autogen.sh Sat Jan 13 10:02:41 2024
+@@ -12,4 +12,3 @@ cd "$BASEDIR" || die "Could not change into base direc
+ autoreconf -fi || die "Error during autoreconf"
+ rm -Rf autom4te.cache;
+
+-doc/autogen.sh || die "Error during doc/autogen.sh"
diff --git a/package/libnl/patches/patch-lib_utils_c b/package/libnl/patches/patch-lib_utils_c
index 3e14d4739..3d75f7487 100644
--- a/package/libnl/patches/patch-lib_utils_c
+++ b/package/libnl/patches/patch-lib_utils_c
@@ -1,5 +1,5 @@
---- libnl-libnl3_2_29.orig/lib/utils.c 2016-12-30 15:57:01.000000000 +0100
-+++ libnl-libnl3_2_29/lib/utils.c 2017-04-26 20:09:18.137933191 +0200
+--- libnl-libnl3_2_29.orig/lib/utils.c Fri Dec 30 15:57:01 2016
++++ libnl-libnl3_2_29/lib/utils.c Sat Jan 13 09:58:56 2024
@@ -30,7 +30,9 @@
#include <netlink/utils.h>
#include <linux/socket.h>
@@ -10,7 +10,7 @@
/**
* Global variable indicating the desired level of debugging output.
-@@ -123,9 +125,10 @@ int __nl_read_num_str_file(const char *p
+@@ -123,9 +125,10 @@ int __nl_read_num_str_file(const char *path, int (*cb)
const char *nl_strerror_l(int err)
{
diff --git a/package/libnl/patches/patch-src_lib_utils_c b/package/libnl/patches/patch-src_lib_utils_c
index 6d75c3acf..60117cbdc 100644
--- a/package/libnl/patches/patch-src_lib_utils_c
+++ b/package/libnl/patches/patch-src_lib_utils_c
@@ -1,6 +1,6 @@
---- libnl-libnl3_2_29.orig/src/lib/utils.c 2016-12-30 15:57:01.000000000 +0100
-+++ libnl-libnl3_2_29/src/lib/utils.c 2017-04-26 20:09:18.149933980 +0200
-@@ -81,6 +81,7 @@ void nl_cli_fatal(int err, const char *f
+--- libnl-libnl3_2_29.orig/src/lib/utils.c Fri Dec 30 15:57:01 2016
++++ libnl-libnl3_2_29/src/lib/utils.c Sat Jan 13 09:58:56 2024
+@@ -81,6 +81,7 @@ void nl_cli_fatal(int err, const char *fmt, ...)
fprintf(stderr, "\n");
} else {
char *buf;
@@ -8,7 +8,7 @@
locale_t loc = newlocale(LC_MESSAGES_MASK, "", (locale_t)0);
if (loc == (locale_t)0) {
if (errno == ENOENT)
-@@ -91,9 +92,14 @@ void nl_cli_fatal(int err, const char *f
+@@ -91,9 +92,14 @@ void nl_cli_fatal(int err, const char *fmt, ...)
}
if (loc != (locale_t)0)
buf = strerror_l(err, loc);