aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-06-23 11:58:51 -1000
committerPaul Spooren <mail@aparcar.org>2021-06-26 18:10:44 -1000
commitadddfe57870d96532b7a6ad2e142a5150f69da36 (patch)
tree595a76a453279507c10d67dcd0fb28534cb487a2 /package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch
parent76cc8a036ccb2355e301740ac2f51ac39894cd09 (diff)
downloadupstream-adddfe57870d96532b7a6ad2e142a5150f69da36.tar.gz
upstream-adddfe57870d96532b7a6ad2e142a5150f69da36.tar.bz2
upstream-adddfe57870d96532b7a6ad2e142a5150f69da36.zip
dante: move to packages.git
Rather than maintaining it in core, move it to packages.git where it's maintained by a community. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch')
-rw-r--r--package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch53
1 files changed, 0 insertions, 53 deletions
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 */
- }