From: Fredrik Fornwall Date: Thu, 6 Jul 2017 23:32:23 +0000 (+0200) Subject: libtalloc: -Werror=implicit-function-declaration X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/fe91fac060bc9a4174dabd031d31371c227516cd?hp=3d1852e97fe4e300858a2d392c41f176d777e7c2 libtalloc: -Werror=implicit-function-declaration --- diff --git a/packages/libtalloc/lib-replace-wscript.patch b/packages/libtalloc/lib-replace-wscript.patch index 57927051..f9640828 100644 --- a/packages/libtalloc/lib-replace-wscript.patch +++ b/packages/libtalloc/lib-replace-wscript.patch @@ -1,6 +1,8 @@ -diff -u -r ../talloc-2.1.8/lib/replace/wscript ./lib/replace/wscript ---- ../talloc-2.1.8/lib/replace/wscript 2016-07-28 03:17:50.000000000 -0400 -+++ ./lib/replace/wscript 2016-08-14 19:03:30.905455753 -0400 +Remove test which does not compile. + +diff -u -r ../talloc-2.1.9/lib/replace/wscript ./lib/replace/wscript +--- ../talloc-2.1.9/lib/replace/wscript 2017-02-27 19:23:11.000000000 +0000 ++++ ./lib/replace/wscript 2017-07-06 23:27:52.934183655 +0000 @@ -32,7 +32,7 @@ conf.DEFINE('HAVE_LIBREPLACE', 1) conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) @@ -19,7 +21,7 @@ diff -u -r ../talloc-2.1.8/lib/replace/wscript ./lib/replace/wscript conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True, headers='readline.h readline/readline.h readline/history.h') -@@ -698,7 +696,7 @@ +@@ -701,11 +699,11 @@ # at the moment: # hide_symbols=bld.BUILTIN_LIBRARY('replace'), private_library=True, @@ -27,4 +29,9 @@ diff -u -r ../talloc-2.1.8/lib/replace/wscript ./lib/replace/wscript + deps='dl nsl socket rt attr' + extra_libs) bld.SAMBA_SUBSYSTEM('replace-test', - source='''test/testsuite.c test/strptime.c + source='''test/testsuite.c test/strptime.c +- test/os2_delete.c test/getifaddrs.c''', ++ test/getifaddrs.c''', + deps='replace', + cflags="-Wno-format-length") +