openwrt/package
Rosen Penev a235b41792 libjson-c: remove old math patch
Remove old math patch meant for old GCC versions. It's not needed
for GCC and causes issues with clang.

Add CMake patch to identify clang properly and apply the proper
flags. Fixes the following warnings/errors:

json_pointer.c:230:7: warning: implicit declaration of function
'vasprintf' is invalid in C99 [-Wimplicit-function-declaration]
        rc = vasprintf(&path_copy, path_fmt, args);
             ^
json_pointer.c:317:7: warning: implicit declaration of function
'vasprintf' is invalid in C99 [-Wimplicit-function-declaration]
        rc = vasprintf(&path_copy, path_fmt, args);
             ^
/usr/include/bits/mathcalls.h:177:23: error: cannot redeclare builtin
function '__builtin_isinf'
__MATHDECL_ALIAS (int,isinf,, (_Mdouble_ __value), isinf)
                      ^
/usr/include/bits/mathcalls.h:177:23: note: '__builtin_isinf' is a
builtin with type 'int ()'
/usr/include/bits/mathcalls.h:213:23: error: cannot redeclare builtin
function '__builtin_isnan'
__MATHDECL_ALIAS (int,isnan,, (_Mdouble_ __value), isnan)

The clang patch is an upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-30 19:16:49 -10:00
..
base-files base-files: fix option to make /var persistent 2021-08-23 14:09:42 +03:00
boot uboot-mediatek: pass console=tty1 for BPi-R2 2021-08-21 04:35:52 +01:00
devel gdb: update to 10.2 2021-08-21 15:59:39 +02:00
firmware linux-firmware: add 2G and 5G precal binaries for QCA99X0 2021-07-25 13:52:38 +02:00
kernel ath9k: owl-loader: remove obsolete AR71XX patch 2021-08-26 21:37:19 +02:00
libs libjson-c: remove old math patch 2021-08-30 19:16:49 -10:00
network wireguard-tools: bump to 20210424 2021-08-30 08:28:17 +01:00
system procd: update to git HEAD 2021-08-31 00:52:47 +01:00
utils bcm27xx-userland: update to latest version 2021-08-21 19:07:06 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00