mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
From c9bc6a91d752ffef80318b5986a4737cf1ef5ab6 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Mon, 15 May 2017 19:47:03 +0200
|
|
Subject: import patch from previous version
|
|
|
|
|
|
diff --git a/src/pty.c b/src/pty.c
|
|
index 22800f6..652e747 100644
|
|
--- a/src/pty.c
|
|
+++ b/src/pty.c
|
|
@@ -19,7 +19,7 @@
|
|
#include <errno.h>
|
|
|
|
#ifdef HAVE_GRANTPT
|
|
-# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX)
|
|
+# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX) && !defined(__HAIKU__)
|
|
# define USE_SYSV_PTYS
|
|
# include <sys/types.h>
|
|
# include <stropts.h>
|
|
--
|
|
2.7.0
|
|
|
|
|
|
From ae8e6e65c9e8f6744b5c7c1a29d9a4eabeeda023 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Mon, 15 May 2017 21:32:54 +0200
|
|
Subject: fix -ltermcap/-lncures issue for x86_64 (works also for x86)
|
|
|
|
|
|
diff --git a/configure b/configure
|
|
old mode 100755
|
|
new mode 100644
|
|
index 073a048..ec1dc79
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -6297,7 +6297,7 @@ JD_Terminfo_Dirs="$MISC_TERMINFO_DIRS \
|
|
/usr/share/terminfo \
|
|
/usr/share/lib/terminfo \
|
|
/usr/local/lib/terminfo"
|
|
-TERMCAP=-ltermcap
|
|
+TERMCAP=-lncurses
|
|
|
|
for terminfo_dir in $JD_Terminfo_Dirs
|
|
do
|
|
--
|
|
2.7.0
|
|
|