re: update to 0.5.5
authorJiri Slachta <jiri@slachta.eu>
Tue, 12 Sep 2017 12:09:48 +0000 (14:09 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Fri, 10 Nov 2017 21:54:31 +0000 (22:54 +0100)
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
libs/re/Makefile
libs/re/patches/001-extend-ninit-nclose-check.patch [new file with mode: 0644]

index 77cf7fde1a480fcfc5c3586b81bac4281793cfa6..7fb4148063d43f2befc6b2c21f6d53945485c51f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2016 OpenWrt.org
+# Copyright (C) 2010-2017 OpenWrt.org
 # Copyright (C) 2010 Alfred E. Heggestad
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=re
-PKG_VERSION:=0.4.17
+PKG_VERSION:=0.5.5
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.creytiv.com/pub
-PKG_MD5SUM:=5900337fd8c77515c87eae5bf0f8c091
+PKG_HASH:=90917a173de962d3b20ab5f9875ad3051b7b307da4acb80c184b72e6c2ba7bb4
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=docs/COPYING
diff --git a/libs/re/patches/001-extend-ninit-nclose-check.patch b/libs/re/patches/001-extend-ninit-nclose-check.patch
new file mode 100644 (file)
index 0000000..382d3e9
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/src/dns/res.c
++++ b/src/dns/res.c
+@@ -25,7 +25,7 @@ int get_resolv_dns(char *domain, size_t
+       uint32_t i;
+       int ret, err;
+-#ifdef OPENBSD
++#if defined(OPENBSD) || defined(OPENWRT)
+       ret = res_init();
+       state = _res;
+ #else
+@@ -56,7 +56,7 @@ int get_resolv_dns(char *domain, size_t
+       *n = i;
+  out:
+-#ifdef OPENBSD
++#if defined(OPENBSD) || defined(OPENWRT)
+ #else
+       res_nclose(&state);
+ #endif