diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-04-18 17:50:03 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-05-05 00:05:28 +0200 |
commit | ee480c50c1441cbf01b2a48f16868d49c7dbfd8e (patch) | |
tree | 37e2db1b0f238306cb4f6123a5c822e6d06ce7a2 /package/network/utils/dante/Makefile | |
parent | 5f0e25d96628b51b3614f089adf3dad24dd9bf53 (diff) | |
download | upstream-ee480c50c1441cbf01b2a48f16868d49c7dbfd8e.tar.gz upstream-ee480c50c1441cbf01b2a48f16868d49c7dbfd8e.tar.bz2 upstream-ee480c50c1441cbf01b2a48f16868d49c7dbfd8e.zip |
dante: Fix compile with glibc
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.
This fixes the following compile error with glibc:
----------------------------------------------------------------------
/bin/ld: config_scan.o: in function `socks_yylex':
dante-1.4.1/sockd/config_scan.l:461: undefined reference to `cpupolicy2numeric'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:522: sockd] Error 1
Fixes: aaf46a8fe23e ("dante: disable sched_getscheduler() - not implemented in musl")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit ce1798e915181e6c1f3ba735b254b37b84261303)
Diffstat (limited to 'package/network/utils/dante/Makefile')
-rw-r--r-- | package/network/utils/dante/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/dante/Makefile b/package/network/utils/dante/Makefile index 4f5d08724c..15bd6d2afc 100644 --- a/package/network/utils/dante/Makefile +++ b/package/network/utils/dante/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dante PKG_VERSION:=1.4.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.inet.no/dante/files/ |