1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 05:27:45 +00:00

Ports/perl5: Remove no longer needed Makefile patch

Following the removal of the `drand48` patch to the configure script,
we can now remove this patch as it is no longer needed to prevent an
interpreter hang.
This commit is contained in:
Beckett Normington 2023-08-27 01:30:42 -04:00 committed by Tim Schumacher
parent eaf7dbaced
commit 39e79d6f6f
4 changed files with 2 additions and 35 deletions

View file

@ -0,0 +1,40 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Beckett Normington <beckett@b0ba.dev>
Date: Thu, 27 Jul 2023 13:58:01 -0400
Subject: [PATCH] configure: Add hint for `serenity`
---
cnf/hints/serenity | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 cnf/hints/serenity
diff --git a/cnf/hints/serenity b/cnf/hints/serenity
new file mode 100644
index 0000000000000000000000000000000000000000..3e038d0ac1660d7ee485bc32ddaec5a1c953cabd
--- /dev/null
+++ b/cnf/hints/serenity
@@ -0,0 +1,24 @@
+libs='-ldl -lm -lcrypt -lcore'
+
+# Use OS's malloc() by default.
+case "$usemymalloc" in
+'') usemymalloc='n' ;;
+esac
+
+# uses gcc.
+cc='gcc'
+ld='gcc'
+
+# as of the latest some symbols are confusing the nm lookup
+case "$usenm" in
+'') usenm='undef' ;;
+esac
+
+# disable nanosleep
+d_nanosleep='undef'
+
+# don't try to test min/max of gmtime/localtime
+sGMTIME_max=2147483647
+sGMTIME_min=-2147481748
+sLOCALTIME_max=2147483647
+sLOCALTIME_min=-2147481748