findutils: Add missing header
authorRosen Penev <rosenp@gmail.com>
Sun, 4 Aug 2019 21:47:06 +0000 (14:47 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 4 Aug 2019 22:35:09 +0000 (15:35 -0700)
New version of musl no longer internally includes this header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 8ca5cf042d6e08f1e7b9f86cb8338d2982a9d296)

utils/findutils/Makefile
utils/findutils/patches/010-sysmacros.patch [new file with mode: 0644]

index 9293f453b29f4cdb1a69c4d419436ec3ec2ad690..74861029d764e7cb0f7afe18a6d28484eb4c737c 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=findutils
 PKG_VERSION:=4.6.0
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
diff --git a/utils/findutils/patches/010-sysmacros.patch b/utils/findutils/patches/010-sysmacros.patch
new file mode 100644 (file)
index 0000000..dc3678d
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/gl/lib/mountlist.c
++++ b/gl/lib/mountlist.c
+@@ -33,6 +33,8 @@
+ #include <unistd.h>
++#include <sys/sysmacros.h>
++
+ #if HAVE_SYS_PARAM_H
+ # include <sys/param.h>
+ #endif