openwrt/package/libs
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
..
argp-standalone
elfutils elfutils: update to 0.182 2021-08-08 19:50:46 +02:00
gettext
gettext-full gettext-full: disable parallel compilation 2021-08-08 19:50:46 +02:00
gmp
jansson
libaudit
libbsd
libcap libcap: update to 2.51 2021-08-08 19:50:46 +02:00
libevent2
libiconv
libiconv-full
libjson-c libjson-c: remove old math patch 2021-08-30 19:16:49 -10:00
libmnl
libnetfilter-conntrack
libnfnetlink libnfnetlink: quote $(FPIC) on command line 2021-03-19 13:37:51 -10:00
libnftnl libnftnl: update to 1.2.0 2021-08-08 19:50:46 +02:00
libnl
libnl-tiny treewide: unmark selected packages nonshared 2021-07-02 18:12:15 +02:00
libpcap libpcap: update to 1.10.1 2021-08-08 19:50:46 +02:00
libselinux
libsemanage libsemanage: fix pkgconfig paths 2021-04-15 11:54:14 +01:00
libsepol
libtool
libubox libubox: update to the latest version 2021-08-24 17:35:45 +02:00
libunwind
libusb
mbedtls mbedtls: update to 2.16.11 2021-08-08 19:50:46 +02:00
musl-fts
ncurses ncurses: add screen-256color terminfo 2021-03-29 13:47:55 -10:00
nettle nettle: update to 3.7.3 2021-08-08 19:50:46 +02:00
openssl openssl: bump to 1.1.1l 2021-08-26 21:37:20 +02:00
pcre pcre: update to 8.45 2021-08-08 19:50:46 +02:00
popt
readline
sysfsutils
toolchain
uclibc++
uclient uclient: update to Git version 2021-05-14 2021-05-14 23:40:42 +02:00
ustream-ssl ustream-ssl: variants conflict with each other 2021-06-21 18:48:03 -10:00
wolfssl wolfssl: fix build with GCC 10 on 32 x86 targets 2021-08-20 23:45:20 +03:00
zlib