mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
Ports: Fix building the nano port
This commit is contained in:
parent
86189bd93b
commit
80af81bab6
1 changed files with 13 additions and 0 deletions
13
Ports/nano/patches/fix-fnmatch.patch
Normal file
13
Ports/nano/patches/fix-fnmatch.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff -Naur nano-4.5/lib/fnmatch_loop.c nano-4.5.serenity/lib/fnmatch_loop.c
|
||||||
|
--- nano-4.5/lib/fnmatch_loop.c 2021-04-12 03:21:50.410647764 +0200
|
||||||
|
+++ nano-4.5.serenity/lib/fnmatch_loop.c 2021-04-12 03:20:03.688773104 +0200
|
||||||
|
@@ -16,6 +16,9 @@
|
||||||
|
|
||||||
|
/* Match STRING against the file name pattern PATTERN, returning zero if
|
||||||
|
it matches, nonzero if not. */
|
||||||
|
+#ifdef __serenity__
|
||||||
|
+#define FNM_EXTMATCH 0
|
||||||
|
+#endif
|
||||||
|
static int EXT (INT opt, const CHAR *pattern, const CHAR *string,
|
||||||
|
const CHAR *string_end, bool no_leading_period, int flags)
|
||||||
|
internal_function;
|
Loading…
Add table
Add a link
Reference in a new issue