findutils: Add missing header
New version of musl no longer internally includes this header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
fca20e2b2f
commit
8ca5cf042d
2 changed files with 12 additions and 1 deletions
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=findutils
|
PKG_NAME:=findutils
|
||||||
PKG_VERSION:=4.6.0
|
PKG_VERSION:=4.6.0
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
||||||
|
|
11
utils/findutils/patches/010-sysmacros.patch
Normal file
11
utils/findutils/patches/010-sysmacros.patch
Normal file
|
@ -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
|
Loading…
Reference in a new issue