1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:57:36 +00:00

Ports: Remove two getprogname patches that are no longer needed

This commit is contained in:
Tim Schumacher 2022-08-12 01:03:27 +02:00 committed by Brian Gianforcaro
parent 2e0ed98bc5
commit 7e245b74f1
5 changed files with 1 additions and 112 deletions

View file

@ -1,64 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Mon, 16 May 2022 15:44:53 +0430
Subject: [PATCH] Stub out the getprogname() implementation
---
gettext-runtime/gnulib-lib/getprogname.c | 2 ++
gettext-tools/gnulib-lib/getprogname.c | 2 ++
gettext-tools/libgettextpo/getprogname.c | 2 ++
libtextstyle/lib/getprogname.c | 2 ++
4 files changed, 8 insertions(+)
diff --git a/gettext-runtime/gnulib-lib/getprogname.c b/gettext-runtime/gnulib-lib/getprogname.c
index 5e6f764..e800b89 100644
--- a/gettext-runtime/gnulib-lib/getprogname.c
+++ b/gettext-runtime/gnulib-lib/getprogname.c
@@ -245,6 +245,8 @@ getprogname (void)
}
}
return NULL;
+# elif defined(__serenity__)
+ return NULL;
# else
# error "getprogname module not ported to this OS"
# endif
diff --git a/gettext-tools/gnulib-lib/getprogname.c b/gettext-tools/gnulib-lib/getprogname.c
index 5e6f764..e800b89 100644
--- a/gettext-tools/gnulib-lib/getprogname.c
+++ b/gettext-tools/gnulib-lib/getprogname.c
@@ -245,6 +245,8 @@ getprogname (void)
}
}
return NULL;
+# elif defined(__serenity__)
+ return NULL;
# else
# error "getprogname module not ported to this OS"
# endif
diff --git a/gettext-tools/libgettextpo/getprogname.c b/gettext-tools/libgettextpo/getprogname.c
index 5e6f764..e800b89 100644
--- a/gettext-tools/libgettextpo/getprogname.c
+++ b/gettext-tools/libgettextpo/getprogname.c
@@ -245,6 +245,8 @@ getprogname (void)
}
}
return NULL;
+# elif defined(__serenity__)
+ return NULL;
# else
# error "getprogname module not ported to this OS"
# endif
diff --git a/libtextstyle/lib/getprogname.c b/libtextstyle/lib/getprogname.c
index 5e6f764..e800b89 100644
--- a/libtextstyle/lib/getprogname.c
+++ b/libtextstyle/lib/getprogname.c
@@ -245,6 +245,8 @@ getprogname (void)
}
}
return NULL;
+# elif defined(__serenity__)
+ return NULL;
# else
# error "getprogname module not ported to this OS"
# endif

View file

@ -1,11 +1,6 @@
# Patches for gettext on SerenityOS
## `0001-Stub-out-the-getprogname-implementation.patch`
Stub out the getprogname() implementation
## `0002-Stub-out-some-wctype-functions.patch`
## `0001-Stub-out-some-wctype-functions.patch`
Stub out some wctype functions