mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 01:04:38 +03:00
Ports: Fix building the nano port
This commit is contained in:
parent
f8d91c8f8f
commit
ff8e016d94
Notes:
sideshowbarker
2024-07-18 07:00:03 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/ff8e016d948 Pull-request: https://github.com/SerenityOS/serenity/pull/9403
14
Ports/nano/patches/fnmatch.patch
Normal file
14
Ports/nano/patches/fnmatch.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -Naur nano-5.8/lib/fnmatch_loop.c nano-5.8.serenity/lib/fnmatch_loop.c
|
||||
--- nano-5.8/lib/fnmatch_loop.c 2020-06-26 21:57:10.000000000 +0200
|
||||
+++ nano-5.8.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;
|
Loading…
Reference in New Issue
Block a user