1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

Ports/diffutils: Update diffutils to version 3.8

The fnmatch patch that was added in 6de6dff is reverted because it is
not clear why it is necessary, as discussed in #9206.

This also removes diffutils from the list of ports missing descriptions
as it no longer has any patches.
This commit is contained in:
EWouters 2022-04-01 02:13:22 +02:00 committed by Brian Gianforcaro
parent 8a84a03850
commit 8828b038f5
4 changed files with 3 additions and 18 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=diffutils
version=3.7
files="https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz diffutils-${version}.tar.xz b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26"
version=3.8
files="https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz diffutils-${version}.tar.xz a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec"
auth_type=sha256
useconfigure=true
use_fresh_config_sub=true

View file

@ -1,14 +0,0 @@
diff -Naur gettext-0.21/gettext-tools/gnulib-lib/fnmatch_loop.c gettext-0.21.serenity/gettext-tools/gnulib-lib/fnmatch_loop.c
--- diffutils-3.7/lib/fnmatch_loop.c 2020-06-26 21:57:10.000000000 +0200
+++ diffutils-3.7.serenity/lib/fnmatch_loop.c 2021-05-08 05:06:59.944736766 +0200
@@ -19,6 +19,10 @@
/* Match STRING against the file name pattern PATTERN, returning zero if
it matches, nonzero if not. */
+#ifdef __serenity__
+# define FNM_EXTMATCH 9000
+#endif
+
static int EXT (INT opt, const CHAR *pattern, const CHAR *string,
const CHAR *string_end, bool no_leading_period, int flags)
internal_function;