From: Markham Date: Wed, 12 Jun 2019 07:46:07 +0000 (+0200) Subject: util-linux: fix build with glibc >= 2.25 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=1b61b0173787a4aeb05a58b9e855aaff487b7cac;p=bs-cst-neutrino-hd.git util-linux: fix build with glibc >= 2.25 --- diff --git a/archive-patches/util-linux-2.25.2-fix-build-with-glibc-2.25.patch b/archive-patches/util-linux-2.25.2-fix-build-with-glibc-2.25.patch new file mode 100644 index 0000000..9beaebd --- /dev/null +++ b/archive-patches/util-linux-2.25.2-fix-build-with-glibc-2.25.patch @@ -0,0 +1,11 @@ +# fix build with glibc >= 2.25 +--- a/lib/sysfs.c ++++ b/lib/sysfs.c +@@ -5,6 +5,7 @@ + * Written by Karel Zak + */ + #include ++#include + + #include "c.h" + #include "at.h" diff --git a/make/libraries.mk b/make/libraries.mk index 9784611..b6b44db 100755 --- a/make/libraries.mk +++ b/make/libraries.mk @@ -96,6 +96,7 @@ $(D)/util-linux: $(D)/libncurses $(ARCHIVE)/util-linux-$(UTIL_LINUX_VER).tar.xz cd $(BUILD_TMP)/util-linux-$(UTIL_LINUX_VER) && \ $(PATCH)/util-linux-2.25.2-no-printf-alloc.patch && \ $(PATCH)/util-linux-2.25.2-lib-colors-use-static-buffers-when-parse-scheme.patch && \ + $(PATCH)/util-linux-2.25.2-fix-build-with-glibc-2.25.patch && \ autoreconf -fi && \ $(CONFIGURE) \ --prefix= \