openwrt-packages/net/coova-chilli/patches
Hauke Mehrtens 55297e45c8 coova-chilli: Fix compile problem with _init()
The _init() function collides with a _init() function in crti.o.
This results in the following error in OpenWrt:
arc-openwrt-linux-gnu/bin/ld: libxt_coova.o: in function `_init':
/lib/gcc/arc-openwrt-linux-gnu/11.3.0/crti.o:(.init+0x4): first defined here
collect2: error: ld returned 1 exit status
make[7]: *** [Makefile:22: libxt_coova.so] Error 1

Fix this by suing a constructor attribute instead. This function will
still be called after the shared library was loaded.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-20 19:25:17 -07:00
..
010-kernel510.patch coova-chili: fix compilation with kernel 5.10 2021-03-21 21:57:28 -07:00
020-libxt_coova-Use-constructor-instead-of-_init.patch coova-chilli: Fix compile problem with _init() 2022-08-20 19:25:17 -07:00
100-fix_compile_kmod.patch coova-chilli: Update to 1.4 2018-07-29 20:06:04 -07:00