diff --git a/net-dialup/minicom/Manifest b/net-dialup/minicom/Manifest index 1a1c3317a7d77..8a99f17ad430f 100644 --- a/net-dialup/minicom/Manifest +++ b/net-dialup/minicom/Manifest @@ -1,2 +1 @@ -DIST minicom-2.10.tar.gz 798751 BLAKE2B 1828b2670a71f8c94099cabc49b1e85ad35bd0491a78fe99a92d32176811d25b76afa74b417491f44bec40c1a7273e1bbc0ab9729dfa2626291b069b4447b919 SHA512 ced271a21b0ba97ad0b09093f341112d4c4f64f6b72631502acc136d2fb92eeb14965d4187fd8cfed0e0e2519b603b6e54d8dd780e666119ecfc5677203595e2 DIST minicom-2.11.1.tar.gz 1058823 BLAKE2B 20f3f118cea634cf3df5a3ad5513f32c3117d95e222027aac978f0b3d6be8fdc79b7602959129a2e36e05960800c8bce025423b69d609c9651c8bcbe4a70efb1 SHA512 a74ca75494051b5027a0b641f1fedcc8a341dc409e17f4f509fdb48d3958ed6e6a8482f4f0217671eaa3af6fd5e608f55759faf6f71fa89fddbb065ad99cf33d diff --git a/net-dialup/minicom/files/minicom-2.10-glibc-2.42.patch b/net-dialup/minicom/files/minicom-2.10-glibc-2.42.patch deleted file mode 100644 index 1a5950ae843dd..0000000000000 --- a/net-dialup/minicom/files/minicom-2.10-glibc-2.42.patch +++ /dev/null @@ -1,45 +0,0 @@ -https://salsa.debian.org/minicom-team/minicom/-/issues/17 -https://bugs.gentoo.org/969713 -https://salsa.debian.org/minicom-team/minicom/-/commit/964ae563cb5a78545ae1a4a3b6784c69ec73bc48 - -From 964ae563cb5a78545ae1a4a3b6784c69ec73bc48 Mon Sep 17 00:00:00 2001 -From: Stefan Becker -Date: Mon, 17 Nov 2025 11:57:32 +0200 -Subject: [PATCH] src/sysdep.h: remove cfset{i,o}speed macros for glibc - -glibc 2.42 added support for arbitrary termios speeds on Linux, i.e. -speed_t and Bxxx defines changed from bitmasks to unsigned integers: -Therefore speed_t can no longer be used together with c_flag's internal -bitmask CBAUD. - -When minicom is compiled on such a system the baudrate setting is broken -and the user experiences garbled UART output. - -Remove the macros for glibc, i.e. call cfset{i,o}speed() instead. - -Fixes #17 ---- - src/sysdep.h | 9 --------- - 2 files changed, 1 insertion(+), 9 deletions(-) - -diff --git a/src/sysdep.h b/src/sysdep.h -index b11945c..9ba8836 100644 ---- a/src/sysdep.h -+++ b/src/sysdep.h -@@ -139,12 +139,3 @@ - # define cfsetospeed(tty, spd) - #endif - #endif -- --/* Redefine cfset{i,o}speed for Linux > 1.1.68 && libc < 4.5.21 */ --#if defined (__GLIBC__) && defined(CBAUDEX) --# undef cfsetispeed --# undef cfsetospeed --# define cfsetispeed(xtty, xspd) \ -- ((xtty)->c_cflag = ((xtty)->c_cflag & ~CBAUD) | (xspd)) --# define cfsetospeed(tty, spd) --#endif --- -GitLab - - diff --git a/net-dialup/minicom/minicom-2.10-r1.ebuild b/net-dialup/minicom/minicom-2.10-r1.ebuild deleted file mode 100644 index 7c0ce4f436f66..0000000000000 --- a/net-dialup/minicom/minicom-2.10-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Serial Communication Program" -HOMEPAGE="https://salsa.debian.org/minicom-team/minicom" -SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="nls" - -DEPEND="sys-libs/ncurses:=" - -RDEPEND=" - ${DEPEND} - net-dialup/lrzsz -" - -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.8-gentoo-runscript.patch - "${FILESDIR}"/${PN}-2.9-update-gettext.patch -) - -src_prepare() { - default - - # Drop a little while after glibc-2.42 is stable (bug #969713) - if ! has_version "sys-libs/glibc" || has_version ">=sys-libs/glibc-2.42" ; then - eapply "${FILESDIR}"/${PN}-2.10-glibc-2.42.patch - fi - - eautoreconf -} - -src_configure() { - # Lockdir must exist if not manually specified. - # '/var/lock' is created by OpenRC. - local myeconfargs=( - # See bug #788142 - --sysconfdir="${EPREFIX}"/etc/${PN} - - --disable-rpath - --enable-lock-dir="/var/lock" - $(use_enable nls) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # Needs to match --sysconfdir above - insinto /etc/minicom - doins "${FILESDIR}"/minirc.dfl -} diff --git a/net-dialup/minicom/minicom-2.10.ebuild b/net-dialup/minicom/minicom-2.10.ebuild deleted file mode 100644 index 4fd4f61d53935..0000000000000 --- a/net-dialup/minicom/minicom-2.10.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Serial Communication Program" -HOMEPAGE="https://salsa.debian.org/minicom-team/minicom" -SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="nls" - -DEPEND="sys-libs/ncurses:=" - -RDEPEND=" - ${DEPEND} - net-dialup/lrzsz -" - -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.8-gentoo-runscript.patch - "${FILESDIR}"/${PN}-2.9-update-gettext.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # Lockdir must exist if not manually specified. - # '/var/lock' is created by OpenRC. - local myeconfargs=( - # See bug #788142 - --sysconfdir="${EPREFIX}"/etc/${PN} - - --disable-rpath - --enable-lock-dir="/var/lock" - $(use_enable nls) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # Needs to match --sysconfdir above - insinto /etc/minicom - doins "${FILESDIR}"/minirc.dfl -}