diff --git a/zssh-c99.patch b/zssh-c99.patch new file mode 100644 index 0000000..a051ba3 --- /dev/null +++ b/zssh-c99.patch @@ -0,0 +1,22 @@ +Add missing entry for HAVE_PTY_H in config.h. Without it, the +generated config.h will not define HAVE_PTY_H, and is not +included in openpty.c. This leads to an implicit declaration of the +openpty function, causing a C99 compatibility problem. + +This should go away on its own if upstream ever does a new upstream +release, as config.h.in is usually generated by autoheader. + +diff --git a/config.h.in b/config.h.in +index 2d863e29d64848bf..c2e0cc979dc0fa56 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -79,6 +79,9 @@ + /* Define if you have the header file. */ + #undef HAVE_PATHS_H + ++/* Define if you have the header file. */ ++#undef HAVE_PTY_H ++ + /* Define if you have the header file. */ + #undef HAVE_READLINE_HISTORY_H + diff --git a/zssh.spec b/zssh.spec index fa9027f..578d5ec 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,8 +1,9 @@ Name: zssh Version: 1.5c -Release: 12%{?dist} +Release: 22%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability -License: GPLv3 +# Automatically converted from old format: GPLv3 - review is highly recommended. +License: GPL-3.0-only URL: http://zssh.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/zssh/zssh/1.5/%{name}-%{version}.tgz # patches from https://sources.debian.org/patches/zssh/1.5c.debian.1-7/ @@ -14,6 +15,7 @@ Patch4: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debi Patch5: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch Patch6: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0007-Fix-typo-in-man-page-zssh.1.patch Patch7: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0008-Strip-build-date-from-version-string-to-enable-repro.patch +Patch8: zssh-c99.patch BuildRequires: make BuildRequires: gcc BuildRequires: readline-devel @@ -46,6 +48,36 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.5c-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Tue Jan 20 2026 Fedora Release Engineering - 1.5c-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 1.5c-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 1.5c-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Jul 29 2024 Miroslav Suchý - 1.5c-18 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 1.5c-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.5c-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 1.5c-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.5c-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 17 2022 Florian Weimer - 1.5c-13 +- Improve C99 compatibility + * Sat Jul 23 2022 Fedora Release Engineering - 1.5c-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild