Update to patch-2.7.6.

This commit is contained in:
Jonas 'Sortie' Termansen 2024-01-27 20:43:25 +01:00
parent ef98f7cdf8
commit b2e2ffdb9d
2 changed files with 6 additions and 17 deletions

View File

@ -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. */

View File

@ -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'