sharutils: -Werror=implicit-function-declaration

This commit is contained in:
Fredrik Fornwall 2017-07-07 02:22:58 +02:00
parent bad0d8faa8
commit cee3cfd273
2 changed files with 13 additions and 0 deletions

View File

@ -3,3 +3,4 @@ TERMUX_PKG_DESCRIPTION="Utilities for packaging and unpackaging shell archives"
TERMUX_PKG_VERSION=4.15.2
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sharutils/sharutils-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
TERMUX_PKG_DEPENDS="libandroid-support"

View File

@ -0,0 +1,12 @@
diff -u -r ../sharutils-4.15.2/config.h.in ./config.h.in
--- ../sharutils-4.15.2/config.h.in 2015-05-30 15:35:30.000000000 +0000
+++ ./config.h.in 2017-07-07 00:21:39.657093948 +0000
@@ -4,6 +4,8 @@
#define SHARUTILS_CONFIG_H 1
+#include <libintl.h>
+
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD