aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/dante/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/dante/patches')
-rw-r--r--package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch36
-rw-r--r--package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch53
2 files changed, 0 insertions, 89 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
deleted file mode 100644
index 594a6f900b..0000000000
--- a/package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- 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,
diff --git a/package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch b/package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch
deleted file mode 100644
index e711189c59..0000000000
--- a/package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-When compiled with glibc the config_scan.c wants to use the
-cpupolicy2numeric() function which is only available when
-HAVE_SCHED_SETSCHEDULER is set. It looks like the wrong define was used here.
-
-This fixes a build problem with glibc in combination with the force
-ac_cv_func_sched_setscheduler=no in the OpenWrt CONFIGURE_VARS.
-
---- a/lib/config_scan.c
-+++ b/lib/config_scan.c
-@@ -3891,7 +3891,7 @@ YY_RULE_SETUP
- SERRX(0);
-
- #else /* !SOCKS_CLIENT */
--#if HAVE_SCHED_SETAFFINITY
-+#if HAVE_SCHED_SETSCHEDULER
-
- BEGIN(0);
-
-@@ -3899,9 +3899,9 @@ YY_RULE_SETUP
- yyerrorx("unknown scheduling policy \"%s\"", yytext);
-
- return SCHEDULEPOLICY;
--#else /* !HAVE_SCHED_SETAFFINITY */
-+#else /* !HAVE_SCHED_SETSCHEDULER */
- yyerrorx("setting cpu scheduling policy is not supported on this platform");
--#endif /* !HAVE_SCHED_SETAFFINITY */
-+#endif /* !HAVE_SCHED_SETSCHEDULER */
-
- #endif /* SOCKS_CLIENT */
- }
---- a/lib/config_scan.l
-+++ b/lib/config_scan.l
-@@ -456,7 +456,7 @@ cpu {
- SERRX(0);
-
- #else /* !SOCKS_CLIENT */
--#if HAVE_SCHED_SETAFFINITY
-+#if HAVE_SCHED_SETSCHEDULER
-
- BEGIN(0);
-
-@@ -464,9 +464,9 @@ cpu {
- yyerrorx("unknown scheduling policy \"%s\"", yytext);
-
- return SCHEDULEPOLICY;
--#else /* !HAVE_SCHED_SETAFFINITY */
-+#else /* !HAVE_SCHED_SETSCHEDULER */
- yyerrorx("setting cpu scheduling policy is not supported on this platform");
--#endif /* !HAVE_SCHED_SETAFFINITY */
-+#endif /* !HAVE_SCHED_SETSCHEDULER */
-
- #endif /* SOCKS_CLIENT */
- }