mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
a418d03d6d
- 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> SVN-Revision: 47926
37 lines
784 B
Diff
37 lines
784 B
Diff
--- a/lib/address.c
|
|
+++ b/lib/address.c
|
|
@@ -48,11 +48,12 @@
|
|
|
|
#include "upnp.h"
|
|
|
|
-#ifndef __USE_GNU
|
|
-#define __USE_GNU /* XXX for RTLD_NEXT on Linux */
|
|
-#endif /* !__USE_GNU */
|
|
#include <dlfcn.h>
|
|
|
|
+#ifndef RTLD_NEXT
|
|
+#define RTLD_NEXT ((void *) -1l)
|
|
+#endif
|
|
+
|
|
static const char rcsid[] =
|
|
"$Id: address.c,v 1.288.4.4 2014/08/15 18:16:40 karls Exp $";
|
|
|
|
--- a/dlib/interposition.c
|
|
+++ b/dlib/interposition.c
|
|
@@ -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 */
|
|
-#endif /* !__USE_GNU */
|
|
#include <dlfcn.h>
|
|
|
|
+#ifndef RTLD_NEXT
|
|
+#define RTLD_NEXT ((void *) -1l)
|
|
+#endif
|
|
+
|
|
#ifdef __COVERITY__
|
|
/*
|
|
* Coverity naturally has no idea what the function sys_foo calls does,
|