diff --git a/Ports/gettext/patches/0001-Stub-out-some-wctype-functions.patch b/Ports/gettext/patches/0001-Stub-out-some-wctype-functions.patch deleted file mode 100644 index 13793fcab8..0000000000 --- a/Ports/gettext/patches/0001-Stub-out-some-wctype-functions.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Ali Mohammad Pur -Date: Mon, 16 May 2022 15:45:32 +0430 -Subject: [PATCH] Stub out some wctype functions - ---- - gettext-tools/gnulib-lib/fnmatch.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/gettext-tools/gnulib-lib/fnmatch.c b/gettext-tools/gnulib-lib/fnmatch.c -index b33a127d9802be15eeafef4622e63aac709bef8e..87f1f7c218c1708f84f3e4394eaa219e1d7c5858 100644 ---- a/gettext-tools/gnulib-lib/fnmatch.c -+++ b/gettext-tools/gnulib-lib/fnmatch.c -@@ -112,6 +112,18 @@ typedef ptrdiff_t idx_t; - # define CHAR_CLASS_MAX_LENGTH 256 - #endif - -+#ifdef __serenity__ -+wctype_t wctype(const char*) -+{ -+ asm("int3"); -+} -+ -+int iswctype(wint_t, wctype_t) -+{ -+ asm("int3"); -+} -+#endif -+ - #define IS_CHAR_CLASS(string) wctype (string) - - /* Avoid depending on library functions or files diff --git a/Ports/gettext/patches/0002-libtool-Enable-shared-library-support-for-SerenityOS.patch b/Ports/gettext/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch similarity index 100% rename from Ports/gettext/patches/0002-libtool-Enable-shared-library-support-for-SerenityOS.patch rename to Ports/gettext/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch diff --git a/Ports/gettext/patches/ReadMe.md b/Ports/gettext/patches/ReadMe.md index 8729e2d2c7..eadb3bf770 100644 --- a/Ports/gettext/patches/ReadMe.md +++ b/Ports/gettext/patches/ReadMe.md @@ -1,11 +1,6 @@ # Patches for gettext on SerenityOS -## `0001-Stub-out-some-wctype-functions.patch` - -Stub out some wctype functions - - -## `0002-libtool-Enable-shared-library-support-for-SerenityOS.patch` +## `0001-libtool-Enable-shared-library-support-for-SerenityOS.patch` libtool: Enable shared library support for SerenityOS