diff --git a/utils/grep/Makefile b/utils/grep/Makefile index 8b35ca9cf3..712493ae73 100644 --- a/utils/grep/Makefile +++ b/utils/grep/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010-2016 OpenWrt.org +# Copyright (C) 2010-2025 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=grep -PKG_VERSION:=3.11 -PKG_RELEASE:=2 +PKG_VERSION:=3.12 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/grep -PKG_HASH:=1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab +PKG_HASH:=2649b27c0e90e632eadcd757be06c6e9a4f48d941de51e7c0f83ff76408a07b9 PKG_MAINTAINER:=Julen Landa Alustiza PKG_LICENSE:=GPL-3.0-or-later @@ -26,6 +26,7 @@ PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk MAKE_FLAGS += SHELL="/bin/sh" +TARGET_CFLAGS += -std=c17 define Package/grep SECTION:=utils diff --git a/utils/grep/patches/ppc-musl.patch b/utils/grep/patches/901-ppc-musl.patch similarity index 100% rename from utils/grep/patches/ppc-musl.patch rename to utils/grep/patches/901-ppc-musl.patch diff --git a/utils/grep/patches/902-skip-doc-tests-gnulib-tests.patch b/utils/grep/patches/902-skip-doc-tests-gnulib-tests.patch new file mode 100644 index 0000000000..73b44c524f --- /dev/null +++ b/utils/grep/patches/902-skip-doc-tests-gnulib-tests.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -2399,7 +2399,7 @@ top_srcdir = @top_srcdir@ + # along with this program. If not, see . + # + AUTOMAKE_OPTIONS = gnu 1.12 +-SUBDIRS = po lib doc src tests gnulib-tests ++SUBDIRS = po lib src + EXTRA_DIST = \ + .mailmap \ + ChangeLog-2009 \