mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
grep: update to 2.22
Signed-off-by: Julen Landa Alustiza <julen@zokormazo.info>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2010-2012 OpenWrt.org
|
# Copyright (C) 2010-2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@@ -8,12 +8,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=grep
|
PKG_NAME:=grep
|
||||||
PKG_VERSION:=2.21
|
PKG_VERSION:=2.22
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@GNU/grep
|
PKG_SOURCE_URL:=@GNU/grep
|
||||||
PKG_MD5SUM:=43c48064d6409862b8a850db83c8038a
|
PKG_MD5SUM:=e1015e951a49a82b02e38891026ef5df
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-3.0
|
PKG_LICENSE:=GPL-3.0
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
diff --git a/src/kwset.c b/src/kwset.c
|
|
||||||
index 4003c8d..376f7c3 100644
|
|
||||||
--- a/src/kwset.c
|
|
||||||
+++ b/src/kwset.c
|
|
||||||
@@ -643,6 +643,8 @@ bmexec_trans (kwset_t kwset, char const *text, size_t size)
|
|
||||||
if (! tp)
|
|
||||||
return -1;
|
|
||||||
tp++;
|
|
||||||
+ if (ep <= tp)
|
|
||||||
+ break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2
|
|
||||||
Reference in New Issue
Block a user