From 6f02c28c6bb7366615dd989bddb25234e12332c1 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 5 Aug 2019 01:18:29 +0000 Subject: system/findutils: Fix build for major/minor move Signed-off-by: Samuel Holland --- system/findutils/APKBUILD | 4 +++- system/findutils/sysmacros.patch | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 system/findutils/sysmacros.patch diff --git a/system/findutils/APKBUILD b/system/findutils/APKBUILD index c64c309e2..05a9d955a 100644 --- a/system/findutils/APKBUILD +++ b/system/findutils/APKBUILD @@ -15,6 +15,7 @@ subpackages="$pkgname-doc $pkgname-lang" source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz localename-test-fix.patch gnulib-tests-dont-require-gpg-passphrase.patch + sysmacros.patch " build() { @@ -40,4 +41,5 @@ package() { sha512sums="41fcd4197c1efbd77f7420e5754e2cf9332dfef19f90c65a8fa1844bb4bc5d529c8393ee0ff979a054e9ac65ff71d7fe3921ea079f9960843412fc9a71f8afd4 findutils-4.6.0.tar.gz 39fc0bc7602dd5300cf0b5488a7d14b6d00e05fedd6067ff45a229e65ff020d0003c0bb8e43807d9874afeb39c1dae6d612182caeb7de76156e1bc6ceb50adfc localename-test-fix.patch -96351821572bee9e23760568b5a9f326c8727b6904a8b9f6fc8e5b8e14b42265c632cea09a913db830844f3015f91a03b9c4dd72862f40a3c3814556497434e2 gnulib-tests-dont-require-gpg-passphrase.patch" +96351821572bee9e23760568b5a9f326c8727b6904a8b9f6fc8e5b8e14b42265c632cea09a913db830844f3015f91a03b9c4dd72862f40a3c3814556497434e2 gnulib-tests-dont-require-gpg-passphrase.patch +2e214511de4be47dc0df46a83d4102e4b59b5f02c4b8356a1ed0b26d481e17c6604bbf07071960f219ef85e1687878cce69a8be28c46638ee4ebe9f4ce0ed487 sysmacros.patch" diff --git a/system/findutils/sysmacros.patch b/system/findutils/sysmacros.patch new file mode 100644 index 000000000..40fe2170f --- /dev/null +++ b/system/findutils/sysmacros.patch @@ -0,0 +1,10 @@ +--- findutils-4.6.0/gl/lib/mountlist.c ++++ findutils-4.6.0/gl/lib/mountlist.c +@@ -32,6 +32,7 @@ + #include + + #include ++#include + + #if HAVE_SYS_PARAM_H + # include -- cgit v1.2.3-70-g09d2