mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
slang: Haiku is a "real unix system"
This enables a few extra APIs that are needed by dosemu.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 79d5f32623b8706a25d5ae88d814f96d703cdb28 Mon Sep 17 00:00:00 2001
|
||||
From 3def23016a0bbc310327ee15fbe4bd7202808202 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
||||
Date: Fri, 24 Mar 2017 18:46:52 +0100
|
||||
Subject: Updated Haiku patchset
|
||||
@@ -112,10 +112,10 @@ index c4aaa92..a802960 100644
|
||||
"SLANG_DOUBLE_TYPE",
|
||||
#endif
|
||||
--
|
||||
2.42.1
|
||||
2.48.1
|
||||
|
||||
|
||||
From ad7993cee7289d38d9a2654c791f3d1e0d7826b0 Mon Sep 17 00:00:00 2001
|
||||
From 10d2e22559632cb150551c670aa1c6ad30f2a149 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Tue, 17 May 2022 18:32:53 -0600
|
||||
Subject: add Haiku terminfo dir
|
||||
@@ -137,5 +137,29 @@ index b2dfcd3..c17be8b 100644
|
||||
/usr/lib/terminfo \
|
||||
/usr/share/terminfo \
|
||||
--
|
||||
2.42.1
|
||||
2.48.1
|
||||
|
||||
|
||||
From f7dcb0563b0a73f19298e3a5b8e26a42e371e3d4 Mon Sep 17 00:00:00 2001
|
||||
From: PulkoMandy <pulkomandy@pulkomandy.tk>
|
||||
Date: Tue, 24 Jun 2025 19:22:49 +0200
|
||||
Subject: Haiku is a real unix system
|
||||
|
||||
This adds a few extra functions like SLtt_tgetstr.
|
||||
|
||||
diff --git a/src/slang.h b/src/slang.h
|
||||
index 0bd5db2..dd3ce70 100644
|
||||
--- a/src/slang.h
|
||||
+++ b/src/slang.h
|
||||
@@ -49,7 +49,7 @@ USA.
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-#if defined(__APPLE__)
|
||||
+#if defined(__APPLE__) || defined(__HAIKU__)
|
||||
# ifndef __unix__
|
||||
# define __unix__ 1 /* cough */
|
||||
# endif
|
||||
--
|
||||
2.48.1
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ part of the S-Lang distribution."
|
||||
HOMEPAGE="http://www.jedsoft.org/slang/"
|
||||
COPYRIGHT="2004-2016 John E. Davis"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.jedsoft.org/releases/slang/slang-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18"
|
||||
PATCHES="slang-$portVersion.patchset"
|
||||
|
||||
Reference in New Issue
Block a user