diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-08-31 00:32:49 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-08-31 00:33:40 +0200 |
commit | e219ad8be80cbe165b40781c2841c4d6eeb07c90 (patch) | |
tree | 373d1ab30ad7ee9974c7685d0a2f0aacdcbd243b /sys-apps | |
parent | sys-kernel/genkernel: update (diff) | |
download | gentoo-e219ad8be80cbe165b40781c2841c4d6eeb07c90.tar.gz gentoo-e219ad8be80cbe165b40781c2841c4d6eeb07c90.tar.bz2 gentoo-e219ad8be80cbe165b40781c2841c4d6eeb07c90.zip |
sys-apps/tcp-wrappers: fix USE=-ipv6
Closes: https://bugs.gentoo.org/692416
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch | 15 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch new file mode 100644 index 000000000000..eebd600aab24 --- /dev/null +++ b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch @@ -0,0 +1,15 @@ +We use malloc() from stdlib.h. + +--- a/scaffold.c ++++ b/scaffold.c +@@ -26,10 +26,6 @@ static char sccs_id[] = "@(#) scaffold.c 1.6 97/03/21 19:27:24"; + #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ + #endif + +-#ifndef INET6 +-extern char *malloc(); +-#endif +- + /* Application-specific. */ + + #include "tcpd.h" diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 00e58c8c433f..8e96239d9162 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -25,6 +25,7 @@ S=${WORKDIR}/${MY_P} src_prepare() { eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series) eapply "${FILESDIR}"/${PN}-7.6-redhat-bug11881.patch + eapply "${FILESDIR}"/${PN}-7.6.28-no-external-malloc.patch eapply_user |