coova-chilli: fix libxt-coova not loading properly from iptables ( openwrt/packages...
authorPierre Parent <m@pierre-parent.fr>
Wed, 14 Feb 2024 10:51:59 +0000 (11:51 +0100)
committerRosen Penev <rosenp@gmail.com>
Fri, 23 Feb 2024 00:03:04 +0000 (16:03 -0800)
Signed-off-by: Pierre Parent <m@pierre-parent.fr>
net/coova-chilli/Makefile
net/coova-chilli/patches/020-libxt_coova-Use-constructor-instead-of-_init.patch

index 97d2acf38b44017bc64a917399c4f07ad93d44cf..fe65b29a5b829fa454a48d50ba1adc268226c587 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=coova-chilli
 PKG_VERSION:=1.6
-PKG_RELEASE:=10
+PKG_RELEASE:=11
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
index 672c34394afe2a030e0c92f3399a2dcb91334439..a364a8ff5010c348cd10e270f7d8956ddaa46ed6 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  };
  
 -void _init(void)
-+void __attribute__ ((constructor)) xtables_init(void)
++void __attribute__ ((constructor)) libxt_coova_init(void)
  {
        xtables_register_match(&coova_mt_reg);
        xtables_register_match(&coova_mt6_reg);