summaryrefslogtreecommitdiff
path: root/Ports/ruby/patches/0001-Teach-configure-about-serenity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/ruby/patches/0001-Teach-configure-about-serenity.patch')
-rw-r--r--Ports/ruby/patches/0001-Teach-configure-about-serenity.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/Ports/ruby/patches/0001-Teach-configure-about-serenity.patch b/Ports/ruby/patches/0001-Teach-configure-about-serenity.patch
new file mode 100644
index 0000000000..86a6872718
--- /dev/null
+++ b/Ports/ruby/patches/0001-Teach-configure-about-serenity.patch
@@ -0,0 +1,26 @@
+From 9714ad7325f578cb41f8f90496d64888eda8a268 Mon Sep 17 00:00:00 2001
+From: Ali Mohammad Pur <mpfard@serenityos.org>
+Date: Sat, 8 Jan 2022 17:02:29 +0330
+Subject: [PATCH 1/4] Teach configure about serenity
+
+Co-Authored-By: Eric Seifert <seiferteric@gmail.com>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index a0d9a6c..44ebf54 100755
+--- a/configure
++++ b/configure
+@@ -28610,7 +28610,7 @@ fi
+ *) :
+ ;;
+ esac ;; #(
+- linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku*) :
++ linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | serenity* | haiku*) :
+
+ : ${LDSHARED='$(CC) -shared'}
+ if test "$rb_cv_binary_elf" = yes; then :
+--
+2.36.1
+