commit:     3392c712d01f04939c3e19b7bd266525824e0298
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 21 19:20:27 2025 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Sep 21 19:21:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3392c712

gnustep-apps/terminal: fix termio.h use

update EAPI 7 -> 8 and clean ebuild

Closes: https://bugs.gentoo.org/962902
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 .../terminal/files/terminal-0.9.9-termio.patch        | 12 ++++++++++++
 gnustep-apps/terminal/terminal-0.9.9-r1.ebuild        | 19 +++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/gnustep-apps/terminal/files/terminal-0.9.9-termio.patch 
b/gnustep-apps/terminal/files/terminal-0.9.9-termio.patch
new file mode 100644
index 000000000000..2da9ba189673
--- /dev/null
+++ b/gnustep-apps/terminal/files/terminal-0.9.9-termio.patch
@@ -0,0 +1,12 @@
+diff -Naur Terminal-0.9.9.orig/TerminalView.m Terminal-0.9.9/TerminalView.m
+--- Terminal-0.9.9.orig/TerminalView.m 2017-08-02 19:17:43.000000000 +0200
++++ Terminal-0.9.9/TerminalView.m      2025-09-21 21:16:42.291775485 +0200
+@@ -46,7 +46,7 @@
+ #  include <sys/ioctl.h>
+ #elif defined (__GNU__)
+ #else
+-#  include <termio.h>
++#  include <termios.h>
+ #endif
+ 
+ #include <sys/time.h>

diff --git a/gnustep-apps/terminal/terminal-0.9.9-r1.ebuild 
b/gnustep-apps/terminal/terminal-0.9.9-r1.ebuild
new file mode 100644
index 000000000000..ce0d16ae243d
--- /dev/null
+++ b/gnustep-apps/terminal/terminal-0.9.9-r1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1998-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnustep-2
+
+DESCRIPTION="A terminal emulator for GNUstep"
+HOMEPAGE="http://www.nongnu.org/gap/terminal/";
+SRC_URI="https://savannah.nongnu.org/download/gap/${P/t/T}.tar.gz";
+S=${WORKDIR}/${P/t/T}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch
+       "${FILESDIR}"/${P}-termio.patch
+       )

Reply via email to