aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-17 09:29:54 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-17 09:29:54 +0000
commit61b9031f7b99679ce1a95a7f9f995d47ca1d0515 (patch)
tree385f37a53839d655f2f883f3debf7b66591fc0d2 /package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch
parentdcc59ec691373a6464f0290dde0269971b7b7bc9 (diff)
downloadmaster-187ad058-61b9031f7b99679ce1a95a7f9f995d47ca1d0515.tar.gz
master-187ad058-61b9031f7b99679ce1a95a7f9f995d47ca1d0515.tar.bz2
master-187ad058-61b9031f7b99679ce1a95a7f9f995d47ca1d0515.zip
dante: update to 1.4.1
- 1.4.x has IPv6 support - set C std explicitly due to gcc 5 changes/old code style of dante - disable pam via configure vars since detection of without pam option is broken (-lpam gets linked in if available) - remove and refresh patches only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47926 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch')
-rw-r--r--package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch b/package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch
index 7281ba6059..594a6f900b 100644
--- a/package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch
+++ b/package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch
@@ -1,8 +1,8 @@
--- a/lib/address.c
+++ b/lib/address.c
-@@ -45,11 +45,12 @@
+@@ -48,11 +48,12 @@
- #include "interposition.h"
+ #include "upnp.h"
-#ifndef __USE_GNU
-#define __USE_GNU /* XXX for RTLD_NEXT on Linux */
@@ -14,13 +14,13 @@
+#endif
+
static const char rcsid[] =
- "$Id: address.c,v 1.177.2.2 2010/05/24 16:38:36 karls Exp $";
+ "$Id: address.c,v 1.288.4.4 2014/08/15 18:16:40 karls Exp $";
--- a/dlib/interposition.c
+++ b/dlib/interposition.c
-@@ -66,11 +66,12 @@ sendto(HAVE_PROT_SENDTO_1, HAVE_PROT_SEN
- HAVE_PROT_SENDTO_4, HAVE_PROT_SENDTO_5, HAVE_PROT_SENDTO_6);
- #endif
+@@ -93,11 +93,12 @@ write$NOCANCEL(HAVE_PROT_WRITE_1, HAVE_P
+
+ #endif /* HAVE_DARWIN */
-#ifndef __USE_GNU
-#define __USE_GNU /* XXX for RTLD_NEXT on Linux */
@@ -31,6 +31,6 @@
+#define RTLD_NEXT ((void *) -1l)
+#endif
+
- #undef accept
- #undef bind
- #undef bindresvport
+ #ifdef __COVERITY__
+ /*
+ * Coverity naturally has no idea what the function sys_foo calls does,