public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Cantrell <dcantrell@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ckermit] epel10: Fix FTBFS (#2113148)
Date: Tue, 15 Sep 2026 18:31:11 GMT	[thread overview]
Message-ID: <178949707145.1.9237980414445303126.rpms-ckermit-105f8648089c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ckermit
            Branch : epel10
            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=epel10

            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
 

                 reply	other threads:[~2026-09-15 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178949707145.1.9237980414445303126.rpms-ckermit-105f8648089c@fedoraproject.org \
    --to=dcantrell@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox