mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:57:35 +00:00
Ports: Update libicu's patches to use git patches
This commit is contained in:
parent
0293439d28
commit
4007f69976
3 changed files with 55 additions and 15 deletions
|
@ -0,0 +1,25 @@
|
||||||
|
From 8ab9c30e87cc95f6ad201eaa396c0ea2c62f9a41 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gunnar Beutner <gbeutner@serenityos.org>
|
||||||
|
Date: Mon, 16 May 2022 18:03:31 +0430
|
||||||
|
Subject: [PATCH 1/2] Set host to serenity in configure
|
||||||
|
|
||||||
|
---
|
||||||
|
configure | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/configure b/configure
|
||||||
|
index a2ff7e4..8283dc9 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -5274,6 +5274,8 @@ x86_64-*-cygwin)
|
||||||
|
else
|
||||||
|
icu_cv_host_frag=mh-cygwin-msvc
|
||||||
|
fi ;;
|
||||||
|
+*-serenity*)
|
||||||
|
+ icu_cv_host_frag=mh-serenity ;;
|
||||||
|
*-*-mingw*)
|
||||||
|
if test "$GCC" = yes; then
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
|
@ -1,6 +1,18 @@
|
||||||
diff -ur source/config/mh-serenity source.serenity/config/mh-serenity
|
From 6ff2bd5db3af8d810810f9cd46897f9ab148fb0b Mon Sep 17 00:00:00 2001
|
||||||
--- source/config/mh-serenity 1970-01-01 01:00:00.000000000 +0100
|
From: Ali Mohammad Pur <mpfard@serenityos.org>
|
||||||
+++ source.serenity/config/mh-serenity 2021-04-11 09:20:23.857575570 +0200
|
Date: Mon, 16 May 2022 18:03:31 +0430
|
||||||
|
Subject: [PATCH 2/2] Add a serenity-specific makefile
|
||||||
|
|
||||||
|
---
|
||||||
|
config/mh-serenity | 87 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
1 file changed, 87 insertions(+)
|
||||||
|
create mode 100644 config/mh-serenity
|
||||||
|
|
||||||
|
diff --git a/config/mh-serenity b/config/mh-serenity
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..53d6780
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/config/mh-serenity
|
||||||
@@ -0,0 +1,87 @@
|
@@ -0,0 +1,87 @@
|
||||||
+## -*-makefile-*-
|
+## -*-makefile-*-
|
||||||
+## Copyright (C) 2016 and later: Unicode, Inc. and others.
|
+## Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||||
|
@ -89,15 +101,6 @@ diff -ur source/config/mh-serenity source.serenity/config/mh-serenity
|
||||||
+
|
+
|
||||||
+## End Linux-specific setup
|
+## End Linux-specific setup
|
||||||
+
|
+
|
||||||
diff -ur source/configure source.serenity/configure
|
--
|
||||||
--- source/configure 2021-04-08 02:10:27.000000000 +0200
|
2.36.1
|
||||||
+++ source.serenity/configure 2021-04-11 09:24:04.971314734 +0200
|
|
||||||
@@ -5274,6 +5274,8 @@
|
|
||||||
else
|
|
||||||
icu_cv_host_frag=mh-cygwin-msvc
|
|
||||||
fi ;;
|
|
||||||
+*-serenity*)
|
|
||||||
+ icu_cv_host_frag=mh-serenity ;;
|
|
||||||
*-*-mingw*)
|
|
||||||
if test "$GCC" = yes; then
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12
Ports/libicu/patches/ReadMe.md
Normal file
12
Ports/libicu/patches/ReadMe.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Patches for libicu on SerenityOS
|
||||||
|
|
||||||
|
## `0001-Set-host-to-serenity-in-configure.patch`
|
||||||
|
|
||||||
|
Set host to serenity in configure
|
||||||
|
|
||||||
|
|
||||||
|
## `0002-Add-a-serenity-specific-makefile.patch`
|
||||||
|
|
||||||
|
Add a serenity-specific makefile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue