Ports: Fix building the wget port

This commit is contained in:
Gunnar Beutner 2021-08-14 11:51:10 +02:00 committed by Andreas Kling
parent ff8e016d94
commit 7d493bbf98
Notes: sideshowbarker 2024-07-18 06:59:59 +09:00

View File

@ -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 <stdint.h>
#endif
+#ifdef __serenity__
+# define FNM_EXTMATCH 9000
+#endif
+
struct STRUCT
{
const CHAR *pattern;