summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/findutils/APKBUILD4
-rw-r--r--system/findutils/sysmacros.patch10
2 files changed, 13 insertions, 1 deletions
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 <fcntl.h>
+
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+
+ #if HAVE_SYS_PARAM_H
+ # include <sys/param.h>