From 35eb3b433d013d77c9a0feae26d0108f85b66356 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Mon, 22 Jan 2024 23:52:05 +0100 Subject: [PATCH] Update to grep-3.11. --- ports/grep/grep.patch | 14 +------------- ports/grep/grep.port | 5 +++-- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/ports/grep/grep.patch b/ports/grep/grep.patch index 3c26fb0d..eac20592 100644 --- a/ports/grep/grep.patch +++ b/ports/grep/grep.patch @@ -1,15 +1,3 @@ -diff -Paur --no-dereference -- grep.upstream/build-aux/config.sub grep/build-aux/config.sub ---- grep.upstream/build-aux/config.sub -+++ grep/build-aux/config.sub -@@ -1360,7 +1360,7 @@ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* | -plan9* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ -- | -aos* | -aros* \ -+ | -aos* | -aros* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ diff -Paur --no-dereference -- grep.upstream/configure grep/configure --- grep.upstream/configure +++ grep/configure @@ -134,5 +122,5 @@ diff -Paur --no-dereference -- grep.upstream/configure grep/configure +export gl_cv_func_getcwd_null=yes # Only if the OS actually supports this, Sortix does. +export gl_cv_struct_dirent_d_ino=yes # Only if the OS actually supports this, Sortix does. # Guess values for system-dependent variables and create Makefiles. - # Generated by GNU Autoconf 2.69.117-1717 for GNU grep 2.20. + # Generated by GNU Autoconf 2.72c.20-9c018 for GNU grep 3.11. # diff --git a/ports/grep/grep.port b/ports/grep/grep.port index 97caf866..0fcac7bb 100644 --- a/ports/grep/grep.port +++ b/ports/grep/grep.port @@ -1,11 +1,12 @@ NAME=grep BUILD_LIBRARIES='libiconv? libintl?' -VERSION=2.20 +VERSION=3.11 DISTNAME=$NAME-$VERSION COMPRESSION=tar.xz ARCHIVE=$DISTNAME.$COMPRESSION -SHA256SUM=f0af452bc0d09464b6d089b6d56a0a3c16672e9ed9118fbe37b0b6aeaf069a65 +SHA256SUM=1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab UPSTREAM_SITE=https://ftp.gnu.org/gnu/grep UPSTREAM_ARCHIVE=$ARCHIVE +LICENSE=GPL-3.0-or-later BUILD_SYSTEM=configure MAKE_VARS='V=1'