immortalwrt/package
Hauke Mehrtens c0204980f8
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-19 19:57:16 +08:00
..
base-files
boot
ctcgfw luci-app-unblockneteasemusic-mini: drop outdated server 2020-04-19 19:52:26 +08:00
devel binutils: add ALTERNATIVES for strings (FS#3001) 2020-04-19 19:56:11 +08:00
firmware wireless-regdb: custom fix txpower and dfs 2020-04-14 10:39:43 +08:00
kernel mac80211: sync upstream source code 2020-04-18 11:55:28 +08:00
lean Merge Lean's source 2020-04-19 19:35:34 +08:00
libs mbedtls: update to 2.16.6 2020-04-18 12:20:56 +08:00
lienol luci-theme-bootstrap-mod: sync with upstream source 2020-04-16 03:20:19 +08:00
network dante: Fix compile with glibc 2020-04-19 19:57:16 +08:00
ntlf9t ndpi-netfilter: fix compatibility with kernel 5.0+ 2020-04-17 00:15:04 +08:00
system rpcd: bump version 2020-04-09 14:17:36 +08:00
utils upgs: Remove extra _DEFAULT_SOURCE definition 2020-04-19 19:57:05 +08:00
zxlhhyccc luci-app-k3usb: sort out files 2020-04-13 02:38:54 +08:00
Makefile