From 7d493bbf985d01e9ffffbd3c39f3d311f05ce364 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 14 Aug 2021 11:51:10 +0200 Subject: [PATCH] Ports: Fix building the wget port --- Ports/wget/patches/fnmatch.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Ports/wget/patches/fnmatch.patch diff --git a/Ports/wget/patches/fnmatch.patch b/Ports/wget/patches/fnmatch.patch new file mode 100644 index 0000000000..4bb6e650ad --- /dev/null +++ b/Ports/wget/patches/fnmatch.patch @@ -0,0 +1,14 @@ +diff -Naur wget-1.21.1/lib/fnmatch_loop.c wget-1.21.1.serenity/lib/fnmatch_loop.c +--- wget-1.21.1/lib/fnmatch_loop.c 2020-06-26 21:57:10.000000000 +0200 ++++ wget-1.21.1.serenity/lib/fnmatch_loop.c 2021-05-08 05:06:59.944736766 +0200 +@@ -19,6 +19,10 @@ + # include + #endif + ++#ifdef __serenity__ ++# define FNM_EXTMATCH 9000 ++#endif ++ + struct STRUCT + { + const CHAR *pattern;