public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ckermit] epel8: Fix FTBFS (#2113148)
@ 2026-09-18 13:57 David Cantrell
0 siblings, 0 replies; only message in thread
From: David Cantrell @ 2026-09-18 13:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ckermit
Branch : epel8
Commit : 105f8648089c3fe3945eb8e789453715694bf427
Author : David Cantrell <dcantrell@redhat.com>
Date : 2022-08-02T11:30:06-04:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ckermit/c/105f8648089c3fe3945eb8e789453715694bf427?branch=epel8
Log:
Fix FTBFS (#2113148)
Signed-off-by: David Cantrell <dcantrell@redhat.com>
---
diff --git a/ckermit-9.0.302-printw.patch b/ckermit-9.0.302-printw.patch
new file mode 100644
index 0000000..a2be5a9
--- /dev/null
+++ b/ckermit-9.0.302-printw.patch
@@ -0,0 +1,12 @@
+diff -up ckermit-9.0.302/ckuusx.c.orig ckermit-9.0.302/ckuusx.c
+--- ckermit-9.0.302/ckuusx.c.orig 2011-06-17 10:11:34.000000000 -0400
++++ ckermit-9.0.302/ckuusx.c 2022-08-02 11:13:37.262526928 -0400
+@@ -8022,7 +8021,7 @@ char *s; /* a string */
+ move(CW_MSG,22);
+ clrtoeol();
+ if (!s) s = "";
+- printw(*s ? s : "User interruption or connection lost");
++ printw("%s", *s ? s : "User interruption or connection lost");
+ #ifdef KUI
+ #ifndef K95G
+ KuiSetProperty(KUI_FILE_TRANSFER,
diff --git a/ckermit.spec b/ckermit.spec
index 0145781..2df50c1 100644
--- a/ckermit.spec
+++ b/ckermit.spec
@@ -3,7 +3,7 @@
Summary: The quintessential all-purpose communications program
Name: ckermit
Version: 9.0.%{patchlevel}
-Release: 27%{?dist}
+Release: 28%{?dist}
License: BSD with advertising and MIT
# Most of the package is under a three-clause BSD license, but the file
# ckaut2.h appears to be covered by three licenses:
@@ -19,6 +19,7 @@ Source5: cku-%{name}.phone
Source6: README.fedora
# See: https://bugs.gentoo.org/669332
Patch0: ckermit-9.0.302-fix_build_with_glibc_2_28_and_earlier.patch
+Patch1: ckermit-9.0.302-printw.patch
URL: http://www.kermitproject.org/ck90.html
BuildRequires: gcc
BuildRequires: pam-devel
@@ -46,6 +47,7 @@ communication tasks.
%setup -q -c
cp %{SOURCE6} .
%patch0 -p 1 -b .glibc2_28
+%patch1 -p 1 -b .printw
%build
%make_build linux \
@@ -91,6 +93,9 @@ install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/kermit/ckermit.phone
%doc README.fedora
%changelog
+* Tue Aug 02 2022 David Cantrell <dcantrell@redhat.com> - 9.0.302-28
+- Fix FTBFS (#2113148)
+
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.302-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-18 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 13:57 [rpms/ckermit] epel8: Fix FTBFS (#2113148) David Cantrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox