re: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
This commit is contained in:
parent
9a288fb9c5
commit
4fc1689eb4
2 changed files with 23 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2010-2016 OpenWrt.org
|
# Copyright (C) 2010-2017 OpenWrt.org
|
||||||
# Copyright (C) 2010 Alfred E. Heggestad
|
# Copyright (C) 2010 Alfred E. Heggestad
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
@ -9,12 +9,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=re
|
PKG_NAME:=re
|
||||||
PKG_VERSION:=0.4.17
|
PKG_VERSION:=0.5.5
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.creytiv.com/pub
|
PKG_SOURCE_URL:=http://www.creytiv.com/pub
|
||||||
PKG_MD5SUM:=5900337fd8c77515c87eae5bf0f8c091
|
PKG_HASH:=90917a173de962d3b20ab5f9875ad3051b7b307da4acb80c184b72e6c2ba7bb4
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=docs/COPYING
|
PKG_LICENSE_FILES:=docs/COPYING
|
||||||
|
|
20
libs/re/patches/001-extend-ninit-nclose-check.patch
Normal file
20
libs/re/patches/001-extend-ninit-nclose-check.patch
Normal file
|
@ -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
|
Loading…
Reference in a new issue