summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-06-03 09:57:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-04 09:09:33 +0100
commitcd1dc2334fd3e3d1db9be1d26e888051e3f59c5a (patch)
tree5ed0a5cb3479a6fb0e1fd23010b1a2742e3221fb /meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
parent6fa60ac102f6d3977df4236bd5a22680298bdac2 (diff)
downloadopenembedded-core-cd1dc2334fd3e3d1db9be1d26e888051e3f59c5a.tar.gz
tcp-wrappers: Add compile warning fixes from Debian
Signed-off-by: Adrian Bunk <bunk@stusta.de> -- v2: Add comment in the patch headers. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch')
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
new file mode 100644
index 0000000000..965544cc0b
--- /dev/null
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
@@ -0,0 +1,25 @@
+Compile warning fixes from Debian
+
+Signed-off-by: Adrian Bunk <bunk@stusta.de>
+Upstream-Status: Inappropriate [upstream is dead]
+
+--- a/options.c
++++ b/options.c
+@@ -41,6 +41,7 @@ static char sccsid[] = "@(#) options.c 1
+ #include <netinet/in.h>
+ #include <netdb.h>
+ #include <stdio.h>
++#include <unistd.h>
+ #include <syslog.h>
+ #include <pwd.h>
+ #include <grp.h>
+--- a/scaffold.c
++++ b/scaffold.c
+@@ -17,6 +17,7 @@ static char sccs_id[] = "@(#) scaffold.c
+ #include <arpa/inet.h>
+ #include <netdb.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <syslog.h>
+ #include <setjmp.h>
+ #include <string.h>