public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ckermit] epel8: Add patch to fix build with glibc 2.28 and earlier (#1603648)
@ 2026-09-18 13:57
0 siblings, 0 replies; only message in thread
From: @ 2026-09-18 13:57 UTC (permalink / raw)
To: git-commits
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
^ 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: Add patch to fix build with glibc 2.28 and earlier (#1603648)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox