1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

Ports: Update Ruby to version 3.2.2

Three patches that are apparently no longer needed have been removed.
This commit is contained in:
Tim Schumacher 2023-05-15 16:28:59 +02:00 committed by Andreas Kling
parent d78bed2ffe
commit 8434d76027
7 changed files with 40 additions and 219 deletions

View file

@ -4,20 +4,50 @@ Date: Sat, 8 Jan 2022 17:02:29 +0330
Subject: [PATCH] Teach configure about serenity
Co-Authored-By: Eric Seifert <seiferteric@gmail.com>
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
configure | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index a0d9a6c..44ebf54 100755
index db34b7918baf98119bc1b2de420b7f36f9692260..fc20a056a1acb046bffece2458aeddb9389fc48c 100755
--- a/configure
+++ b/configure
@@ -28610,7 +28610,7 @@ fi
@@ -29485,6 +29485,10 @@ esac
;; #(
*-haiku*) :
+ coroutine_type=pthread
+ ;; #(
+ *-serenity*) :
+
coroutine_type=pthread
;; #(
*-emscripten*) :
@@ -30227,7 +30231,7 @@ esac
fi
case "$target_os" in #(
- linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu) :
+ linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu | serenity*) :
if test "$rb_cv_binary_elf" = no
then :
@@ -30417,7 +30421,7 @@ fi
*) :
;;
esac ;; #(
- linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku*) :
+ linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | serenity* | haiku*) :
+ linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku* | serenity*) :
: ${LDSHARED='$(CC) -shared'}
if test "$rb_cv_binary_elf" = yes; then :
if test "$rb_cv_binary_elf" = yes
@@ -31614,7 +31618,7 @@ esac
LIBRUBY_ALIASES='$(LIBRUBY_SONAME) lib$(RUBY_SO_NAME).$(SOEXT)'
;; #(
- linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu | haiku*) :
+ linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu | haiku* | serenity*) :
# RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS)
for rb_opt in '-Wl,-soname,$(LIBRUBY_SONAME)' "$LDFLAGS_OPTDIR"; do