Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ax25-apps for openSUSE:Factory checked in at 2026-02-27 17:04:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ax25-apps (Old) and /work/SRC/openSUSE:Factory/.ax25-apps.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ax25-apps" Fri Feb 27 17:04:49 2026 rev:2 rq:1335325 version:0.0.8~rc5 Changes: -------- --- /work/SRC/openSUSE:Factory/ax25-apps/ax25-apps.changes 2025-02-17 20:54:10.715604958 +0100 +++ /work/SRC/openSUSE:Factory/.ax25-apps.new.29461/ax25-apps.changes 2026-02-27 17:10:28.981542962 +0100 @@ -1,0 +2,5 @@ +Thu Feb 26 19:52:19 UTC 2026 - Andreas Stieger <[email protected]> + +- fix build with glibc 2.42, add termio.patch + +------------------------------------------------------------------- New: ---- termio.patch ----------(New B)---------- New: - fix build with glibc 2.42, add termio.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ax25-apps.spec ++++++ --- /var/tmp/diff_new_pack.HVLjUP/_old 2026-02-27 17:10:30.157591743 +0100 +++ /var/tmp/diff_new_pack.HVLjUP/_new 2026-02-27 17:10:30.161591909 +0100 @@ -1,7 +1,7 @@ # # spec file for package ax25-apps # -# Copyright (c) 2025 Andreas Stieger <[email protected]> +# Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,12 @@ Source: https://linux-ax25.in-berlin.de/pub/ax25-apps/%{name}-%{src_ver}.tar.xz Patch0: call.c.diff Patch1: add-missing-includes.patch +# taken from Debian +Patch2: termio.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: libax25-devel +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(ncursesw) @@ -45,6 +50,8 @@ %autosetup -p1 -n %{name}-%{src_ver} %build +# for termio.patch +autoreconf -fiv %configure \ --program-transform-name='s@^call$@ax&@;s@^listen$@ax&@' \ --docdir=%{_docdir}/%{name} \ ++++++ termio.patch ++++++ From: Dave Hibberd <[email protected]> Date: Tue, 16 Sep 2025 22:35:26 +0100 Subject: Migrate ax25ipd to termios from termio Last-Update: 2025-09-16 Last-Update: 2025-09-16 --- ax25ipd/io.c | 8 ++++---- configure.ac | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ax25ipd/io.c b/ax25ipd/io.c index c0db51d..96bc9ca 100644 --- a/ax25ipd/io.c +++ b/ax25ipd/io.c @@ -19,7 +19,7 @@ #include <stdlib.h> #include <string.h> #include <syslog.h> -#include <termio.h> +#include <termios.h> #include <time.h> #include <unistd.h> #include <arpa/inet.h> @@ -32,7 +32,7 @@ #include "ax25ipd.h" -static struct termio nterm; +static struct termios nterm; int ttyfd = -1; static int udpsock = -1; @@ -339,7 +339,7 @@ void io_open(void) set_bpq_dev_call_and_up(ttydevice); goto behind_normal_tty; } - if (ioctl(ttyfd, TCGETA, &nterm) < 0) { + if (tcgetattr(ttyfd, &nterm) < 0) { perror("fetching tty device parameters"); exit(1); } @@ -476,7 +476,7 @@ void io_open(void) nterm.c_cc[VMIN] = 0; nterm.c_cc[VTIME] = 0; - if (ioctl(ttyfd, TCSETA, &nterm) < 0) { + if (tcsetattr(ttyfd, TCSADRAIN, &nterm) < 0) { perror("setting tty device parameters"); exit(1); } diff --git a/configure.ac b/configure.ac index 623a8ed..c22f151 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,7 @@ dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT -AC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h sys/time.h syslog.h termio.h unistd.h) +AC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h sys/time.h syslog.h termios.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST
