public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/ckermit] epel8: Add patch to fix build with glibc 2.28 and earlier (#1603648)
Date: Fri, 18 Sep 2026 13:57:41 GMT	[thread overview]
Message-ID: <178973986112.1.15827657359975797466.rpms-ckermit-ddd8f6a4b3f8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ckermit
Branch : epel8
Commit : ddd8f6a4b3f86af3784aaf660ef2995c3cc19ad9
Author : Björn Esser <besser82@fedoraproject.org>
Date   : 2019-01-05T23:00:57+01:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ckermit/c/ddd8f6a4b3f86af3784aaf660ef2995c3cc19ad9?branch=epel8

Log:
Add patch to fix build with glibc 2.28 and earlier (#1603648)

---
diff --git a/ckermit-9.0.302-fix_build_with_glibc_2_28_and_earlier.patch b/ckermit-9.0.302-fix_build_with_glibc_2_28_and_earlier.patch
new file mode 100644
index 0000000..d1540cb
--- /dev/null
+++ b/ckermit-9.0.302-fix_build_with_glibc_2_28_and_earlier.patch
@@ -0,0 +1,12 @@
+diff -ru z/ckucmd.c k/ckucmd.c
+--- z/ckucmd.c	2004-01-07 10:04:04.000000000 -0800
++++ k/ckucmd.c	2019-01-01 15:52:44.798864262 -0800
+@@ -7103,7 +7103,7 @@
+ 
+ /* Here we must look inside the stdin buffer - highly platform dependent */
+ 
+-#ifdef _IO_file_flags			/* Linux */
++#ifdef _IO_EOF_SEEN			/* Linux */
+     x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr));
+     debug(F101,"cmdconchk _IO_file_flags","",x);
+ #else  /* _IO_file_flags */

diff --git a/ckermit.spec b/ckermit.spec
index 9f89182..4308ca3 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:       16%{?dist}
+Release:       17%{?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:
@@ -18,6 +18,8 @@ Source3:       cku-%{name}.modem.generic.ini
 Source4:       cku-%{name}.locale.ini
 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
 URL:           http://www.kermitproject.org/ck90.html
 BuildRequires:  gcc
 BuildRequires: pam-devel
@@ -44,6 +46,7 @@ communication tasks.
 %prep
 %setup -q -c
 cp %{SOURCE6} .
+%patch0 -p 1 -b .glibc2_28
 
 %build
 %{__make} linux \
@@ -88,6 +91,9 @@ install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/kermit/ckermit.phone
 %doc README.fedora
 
 %changelog
+* Sat Jan 05 2019 Björn Esser <besser82@fedoraproject.org> - 9.0.302-17
+- Add patch to fix build with glibc 2.28 and earlier (#1603648)
+
 * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.302-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
 

                 reply	other threads:[~2026-09-18 13:57 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=178973986112.1.15827657359975797466.rpms-ckermit-ddd8f6a4b3f8@fedoraproject.org \
    --to=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