From b2e2ffdb9d94c7da6599a23bb601f3177b84f8a6 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 27 Jan 2024 20:43:25 +0100 Subject: [PATCH] Update to patch-2.7.6. --- ports/patch/patch.patch | 18 +++--------------- ports/patch/patch.port | 5 +++-- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/ports/patch/patch.patch b/ports/patch/patch.patch index 1abb83fb..ce048b88 100644 --- a/ports/patch/patch.patch +++ b/ports/patch/patch.patch @@ -1,15 +1,3 @@ -diff -Paur --no-dereference -- patch.upstream/build-aux/config.sub patch/build-aux/config.sub ---- patch.upstream/build-aux/config.sub -+++ patch/build-aux/config.sub -@@ -1373,7 +1373,7 @@ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* | -plan9* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ -- | -aos* | -aros* | -cloudabi* \ -+ | -aos* | -aros* | -cloudabi* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ diff -Paur --no-dereference -- patch.upstream/configure patch/configure --- patch.upstream/configure +++ patch/configure @@ -135,7 +123,7 @@ diff -Paur --no-dereference -- patch.upstream/configure patch/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 for GNU patch 2.7.5. + # Generated by GNU Autoconf 2.69 for GNU patch 2.7.6. # diff -Paur --no-dereference -- patch.upstream/lib/getgroups.c patch/lib/getgroups.c --- patch.upstream/lib/getgroups.c @@ -152,7 +140,7 @@ diff -Paur --no-dereference -- patch.upstream/lib/getgroups.c patch/lib/getgroup diff -Paur --no-dereference -- patch.upstream/src/safe.c patch/src/safe.c --- patch.upstream/src/safe.c +++ patch/src/safe.c -@@ -97,6 +97,8 @@ +@@ -101,6 +101,8 @@ max_cached_fds = 8; if (getrlimit (RLIMIT_NOFILE, &nofile) == 0) max_cached_fds = MAX (nofile.rlim_cur / 4, max_cached_fds); @@ -161,7 +149,7 @@ diff -Paur --no-dereference -- patch.upstream/src/safe.c patch/src/safe.c cached_dirfds = hash_initialize (max_cached_fds, NULL, -@@ -225,7 +227,8 @@ +@@ -229,7 +231,8 @@ /* Actually get the new directory file descriptor. Don't follow symbolic links. */ diff --git a/ports/patch/patch.port b/ports/patch/patch.port index e63d2aec..2e50ae34 100644 --- a/ports/patch/patch.port +++ b/ports/patch/patch.port @@ -1,11 +1,12 @@ NAME=patch BUILD_LIBRARIES= -VERSION=2.7.5 +VERSION=2.7.6 DISTNAME=$NAME-$VERSION COMPRESSION=tar.xz ARCHIVE=$DISTNAME.$COMPRESSION -SHA256SUM=fd95153655d6b95567e623843a0e77b81612d502ecf78a489a4aed7867caa299 +SHA256SUM=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd UPSTREAM_SITE=https://ftp.gnu.org/gnu/patch UPSTREAM_ARCHIVE=$ARCHIVE BUILD_SYSTEM=configure +LICENSE=GPL-3.0-or-later MAKE_VARS='V=1'