Browse Source

findutils: Add missing header

New version of musl no longer internally includes this header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
8ca5cf042d
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      utils/findutils/Makefile
  2. +11
    -0
      utils/findutils/patches/010-sysmacros.patch

+ 1
- 1
utils/findutils/Makefile View 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)


+ 11
- 0
utils/findutils/patches/010-sysmacros.patch View 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…
Cancel
Save