From: Jiri Slachta Date: Tue, 12 Sep 2017 12:09:48 +0000 (+0200) Subject: re: update to 0.5.5 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2e999a0ba3672e243a6156ae17bd61c15907437f;p=feed%2Ftelephony.git re: update to 0.5.5 Signed-off-by: Jiri Slachta --- diff --git a/libs/re/Makefile b/libs/re/Makefile index af173f9..a480966 100644 --- a/libs/re/Makefile +++ b/libs/re/Makefile @@ -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 index 0000000..382d3e9 --- /dev/null +++ b/libs/re/patches/001-extend-ninit-nclose-check.patch @@ -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