mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
tmux: bump version.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From e18d37bbb775c0db3c31643cacedff61faaeb293 Mon Sep 17 00:00:00 2001
|
||||
From ebdeb6ca50c64027beed7f55a6a9ec0e71d3e5f1 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Fri, 7 Jul 2017 16:23:59 +0300
|
||||
Subject: Add initial Haiku support based on hpux
|
||||
@@ -98,12 +98,12 @@ index 0000000..6960ee4
|
||||
+ return (-1);
|
||||
+}
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3591a73..24db598 100644
|
||||
index 2d9fad7..5cce1d9 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -594,6 +594,10 @@ case "$host_os" in
|
||||
PLATFORM=sunos
|
||||
MANFORMAT=man
|
||||
@@ -621,6 +621,10 @@ case "$host_os" in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ AC_MSG_RESULT(haiku)
|
||||
@@ -160,10 +160,10 @@ index 0000000..a6d75f9
|
||||
+ return (event_init());
|
||||
+}
|
||||
diff --git a/tty.c b/tty.c
|
||||
index 1c39fce..2cca2c2 100644
|
||||
index 4d54353..34f1a23 100644
|
||||
--- a/tty.c
|
||||
+++ b/tty.c
|
||||
@@ -285,7 +285,11 @@ tty_start_tty(struct tty *tty)
|
||||
@@ -281,7 +281,11 @@ tty_start_tty(struct tty *tty)
|
||||
event_add(&tty->event_in, NULL);
|
||||
|
||||
memcpy(&tio, &tty->tio, sizeof tio);
|
||||
@@ -176,6 +176,22 @@ index 1c39fce..2cca2c2 100644
|
||||
tio.c_iflag |= IGNBRK;
|
||||
tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET);
|
||||
tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL|
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5cce1d9..32ec9c0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -284,9 +284,9 @@ AC_TRY_LINK(
|
||||
if test "x$found_b64_ntop" = xno; then
|
||||
AC_MSG_RESULT(no)
|
||||
|
||||
- AC_MSG_CHECKING(for b64_ntop with -lresolv)
|
||||
+ AC_MSG_CHECKING(for b64_ntop with -lnetwork)
|
||||
OLD_LIBS="$LIBS"
|
||||
- LIBS="$LIBS -lresolv"
|
||||
+ LIBS="$LIBS -lnetwork"
|
||||
AC_TRY_LINK(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
--
|
||||
2.12.2
|
||||
2.19.1
|
||||
|
||||
@@ -8,7 +8,7 @@ COPYRIGHT="2015 tmux team"
|
||||
LICENSE="ISC"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/tmux/tmux/releases/download/$portVersion/tmux-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ae135ec37c1bf6b7750a84e3a35e93d91033a806943e034521c8af51b12d95df"
|
||||
CHECKSUM_SHA256="7f6bf335634fafecff878d78de389562ea7f73a7367f268b66d37ea13617a2ba"
|
||||
PATCHES="tmux-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
@@ -31,7 +31,7 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autom4te
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
@@ -39,13 +39,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's/-lresolv/-lnetwork/g' configure*
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
Reference in New Issue
Block a user