rlwrap 0.45.2 -> 0.46.1 (#11658)

Co-authored-by: Schrijvers Luc <begasus@gmail.com>

---------

Co-authored-by: Schrijvers Luc <begasus@gmail.com>
This commit is contained in:
Anarchos
2025-01-17 16:00:41 +01:00
committed by GitHub
parent 5649390499
commit 8fcc553c7d
2 changed files with 21 additions and 15 deletions

View File

@@ -1,28 +1,34 @@
From cf04fb419f6c9f65535da377e713faf42c7835aa Mon Sep 17 00:00:00 2001 From 807ae2ff9313d45df3feb76bb0f50a252d8cd089 Mon Sep 17 00:00:00 2001
From: Anarchos <sylvain_kerjean@hotmail.com> From: Anarchos <sylvain_kerjean@hotmail.com>
Date: Sun, 30 Jan 2022 18:42:39 +0100 Date: Fri, 17 Jan 2025 13:22:44 +0100
Subject: [PATCH] Haiku Subject: Haiku
---
configure.ac | 2 +-
src/ptytty.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac diff --git a/configure.ac b/configure.ac
index 72e5440..23786d6 100644 index bae29b2..f4b44dc 100644
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -284,7 +284,7 @@ fi @@ -299,7 +299,7 @@ fi
AC_CHECKING(for pty ranges) AC_MSG_NOTICE(checking for pty ranges)
-ptys=`echo /dev/pty??` -ptys=`echo /dev/pty??`
+ptys=`echo /dev/pt/??` +ptys=`echo /dev/pt/??`
pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
if test x$pch1 != x; then if test x$pch1 != x; then
--
2.45.2
From 65f60e32184649ee2eab17d37e28351214480284 Mon Sep 17 00:00:00 2001
From: Anarchos <sylvain_kerjean@hotmail.com>
Date: Fri, 17 Jan 2025 15:35:01 +0100
Subject: haiku
diff --git a/src/ptytty.c b/src/ptytty.c diff --git a/src/ptytty.c b/src/ptytty.c
index 4b36a2d..e31e22a 100644 index 4b36a2d..b3ce0d6 100644
--- a/src/ptytty.c --- a/src/ptytty.c
+++ b/src/ptytty.c +++ b/src/ptytty.c
@@ -156,8 +156,8 @@ ptytty_get_pty(int *fd_tty, const char **ttydev) @@ -156,8 +156,8 @@ ptytty_get_pty(int *fd_tty, const char **ttydev)
@@ -31,11 +37,11 @@ index 4b36a2d..e31e22a 100644
const char *c1, *c2; const char *c1, *c2;
- char pty_name[] = "/dev/pty??"; - char pty_name[] = "/dev/pty??";
- char tty_name[] = "/dev/tty??"; - char tty_name[] = "/dev/tty??";
+ char pty_name[] = "/dev/pt/p?"; + char pty_name[] = "/dev/pt/??";
+ char tty_name[] = "/dev/tt/??"; + char tty_name[] = "/dev/tt/??";
# ifndef PTYCHAR1 # ifndef PTYCHAR1
# define PTYCHAR1 "pqrstuvwxyz" # define PTYCHAR1 "pqrstuvwxyz"
-- --
2.30.2 2.45.2

View File

@@ -6,8 +6,8 @@ HOMEPAGE="https://github.com/hanslub42/rlwrap"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
COPYRIGHT="2000-2022 Hans Lub and others" COPYRIGHT="2000-2022 Hans Lub and others"
REVISION="1" REVISION="1"
SOURCE_URI="https://github.com/hanslub42/rlwrap/releases/download/v0.45.2/rlwrap-0.45.2.tar.gz" SOURCE_URI="https://github.com/hanslub42/rlwrap/releases/download/$portVersion/rlwrap-$portVersion.tar.gz"
CHECKSUM_SHA256="9f8870deb46e473d21b5db89d709b6497f4ef9fa06d44eebc5f821daa00c8eca" CHECKSUM_SHA256="2711986a1248f6ac59e2aecf5586205835970040d300a42b4bf8014397e73e37"
PATCHES="rlwrap-$portVersion.patchset" PATCHES="rlwrap-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2" ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86" SECONDARY_ARCHITECTURES="x86"