package/ulogd: fix musl build
PATCH 1/1 package/ulogd: fix musl build
Fixes:
- http://autobuild.buildroot.org/results/26fefd491a8a313c12d62c5f522ddfd48decf6c9
Signed-off-by Fabrice Fontaine <[email protected]>
--- .../0001-ulogd-fix-build-with-musl-libc.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch
package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 675e762091380590f78ff07a94a25caa459b786b Mon Sep 17 00:00:00 2001 +From: Cameron Norman <[email protected]> +Date: Sat, 27 Oct 2018 13:05:45 -0700 +Subject: ulogd: fix build with musl libc + +The attached patch fixes building ulogd2 with musl libc. It is being +used on Void Linux right now. + +Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1278 +Signed-off-by: Pablo Neira Ayuso <[email protected]> +Signed-off-by: Fabrice Fontaine <[email protected]> +[Retrrieved from: +https://git.netfilter.org/ulogd2/commit/?id=675e762091380590f78ff07a94a25caa459b786b] +--- + src/ulogd.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ulogd.c b/src/ulogd.c +index b8bc57c..9cd64e8 100644 +--- a/src/ulogd.c ++++ b/src/ulogd.c +@@ -65,6 +65,7 @@ + #include <sys/time.h> + #include <sys/stat.h> + #include <sched.h> ++#include <limits.h> + #include <ulogd/conffile.h> + #include <ulogd/ulogd.h> + #ifdef DEBUG +-- +cgit v1.2.1 +
Signature · 1 line
2.14.1
Thomas Petazzoni
AppliedPATCH 1/1 package/ulogd: fix musl build
Quoted 8 lines · On Fri, 15 Mar 2019 08:34:43 +0100 Fabrice Fontaine…
Fixes:
- http://autobuild.buildroot.org/results/26fefd491a8a313c12d62c5f522ddfd48decf6c9Signed-off-by Fabrice Fontaine <[email protected]>--- .../0001-ulogd-fix-build-with-musl-libc.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com