openwrt/package
Hauke Mehrtens ce1798e915 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: aaf46a8fe2 ("dante: disable sched_getscheduler() - not implemented in musl")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-18 21:06:45 +02:00
..
base-files base-files: don't ship local build key when on buildbot 2020-04-12 20:35:00 +01:00
boot rbcfg: Add missing mode to open call 2020-04-18 21:06:45 +02:00
devel binutils: add ALTERNATIVES for strings (FS#3001) 2020-04-18 10:44:30 +02:00
firmware cypress-firmware: update to v5.4.18-2020_0402 2020-04-13 10:14:48 +02:00
kernel mac80211: make sure existing iface belongs to correct (fullmac) phy 2020-04-17 13:31:58 +01:00
libs mbedtls: update to 2.16.6 2020-04-17 23:43:01 +02:00
network dante: Fix compile with glibc 2020-04-18 21:06:45 +02:00
system procd: jail fixes and improvements 2020-04-14 16:16:06 +01:00
utils upgs: Remove extra _DEFAULT_SOURCE definition 2020-04-18 21:06:45 +02:00
Makefile