tcp-wrappers: Add compile warning fixes from Debian
PATCH v2 1/1 tcp-wrappers: Add compile warning fixes from Debian
Signed-off-by Adrian Bunk <[email protected]>
--
v2: Add comment in the patch headers.
--- .../tcp-wrappers-7.6/fix_warnings.patch | 25 +++ .../tcp-wrappers-7.6/fix_warnings2.patch | 200 ++++++++++++++++++ .../tcp-wrappers/tcp-wrappers_7.6.bb | 2 + 3 files changed, 227 insertions(+) create mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch create mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings2.patch
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch new file +25 -0
@@ -0,0 +1,25 @@ +Compile warning fixes from Debian + +Signed-off-by: Adrian Bunk <[email protected]> +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>
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings2.patch new file +200 -0
200 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +2 -0
@@ -47,6 +47,8 @@ SRC_URI = "ftp://ftp.porcupine.org/pub/security/tcp_wrappers_${PV}.tar.gz \ file://makefile-fix-parallel.patch \ file://musl-decls.patch \ file://0001-Fix-build-with-clang.patch \ + file://fix_warnings.patch \ + file://fix_warnings2.patch \ " SRC_URI[md5sum] = "e6fa25f71226d090f34de3f6b122fb5a"
Signature · 1 line
2.17.1