mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Ports: Remove no longer needed fnmatch.patch
We already have LibC/fnmatch.h with the necessary defines so these patches are no longer needed.
This commit is contained in:
parent
27793bf76c
commit
1cc69edc34
4 changed files with 0 additions and 62 deletions
|
@ -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
|
|
||||||
--- gettext-0.21/gettext-tools/gnulib-lib/fnmatch_loop.c 2020-06-26 21:57:10.000000000 +0200
|
|
||||||
+++ gettext-0.21.serenity/gettext-tools/gnulib-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;
|
|
|
@ -1,14 +0,0 @@
|
||||||
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;
|
|
|
@ -1,20 +0,0 @@
|
||||||
diff -Naur openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676/openbsd-compat/fnmatch.h openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676.serenity/openbsd-compat/fnmatch.h
|
|
||||||
--- openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676/openbsd-compat/fnmatch.h 2021-04-12 13:48:40.263056972 +0200
|
|
||||||
+++ openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676.serenity/openbsd-compat/fnmatch.h 2021-04-12 13:48:03.432331975 +0200
|
|
||||||
@@ -34,6 +34,16 @@
|
|
||||||
|
|
||||||
/* OPENBSD ORIGINAL: include/fnmatch.h */
|
|
||||||
|
|
||||||
+#ifdef __serenity__
|
|
||||||
+#define FNM_NOMATCH 1 /* Match failed. */
|
|
||||||
+
|
|
||||||
+#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
|
|
||||||
+#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
|
|
||||||
+#define FNM_PERIOD 0x04 /* Period must be matched by period. */
|
|
||||||
+#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
|
|
||||||
+#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#ifndef HAVE_FNMATCH_H
|
|
||||||
/* Ensure we define FNM_CASEFOLD */
|
|
||||||
#define __BSD_VISIBLE 1
|
|
|
@ -1,14 +0,0 @@
|
||||||
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;
|
|
Loading…
Add table
Add a link
Reference in a new issue