From 0860268f22f2869b38d7b2de1541fa1b3624d36f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 6 Jul 2019 15:38:56 -0700 Subject: [PATCH] libextractor: Add missing header Fixes compilation with -Wimplicit-function-declaration Signed-off-by: Rosen Penev --- libs/libextractor/Makefile | 4 ++-- libs/libextractor/patches/010-musl.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 libs/libextractor/patches/010-musl.patch diff --git a/libs/libextractor/Makefile b/libs/libextractor/Makefile index a314125d9..d1f15a58f 100644 --- a/libs/libextractor/Makefile +++ b/libs/libextractor/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libextractor PKG_VERSION:=1.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 # ToDo: # - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy @@ -16,7 +16,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) PKG_HASH:=f08f257d26c5e9b503f068d6753c8e55cb76f47f73a81da6ed2bba3de3fee2ff -PKG_LICENSE:=GPL-3.0 +PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Daniel Golle diff --git a/libs/libextractor/patches/010-musl.patch b/libs/libextractor/patches/010-musl.patch new file mode 100644 index 000000000..5786f3b65 --- /dev/null +++ b/libs/libextractor/patches/010-musl.patch @@ -0,0 +1,13 @@ +diff --git a/src/common/le_architecture.h b/src/common/le_architecture.h +index b863ddb..713acdd 100644 +--- a/src/common/le_architecture.h ++++ b/src/common/le_architecture.h +@@ -26,6 +26,8 @@ + + #if WINDOWS + #include /* #define BYTE_ORDER */ ++#else ++#include + #endif + + /* This is copied directly from GNUnet headers */