public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kdebase3] rawhide: Fix FTBFS with gcc16
@ 2026-08-10  3:55 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-08-10  3:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/kdebase3
Branch : rawhide
Commit : 0be004f6558227ee1c24a5e80978096d17dd8afa
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-08-10T12:55:28+09:00
Stats  : +21/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/kdebase3/c/0be004f6558227ee1c24a5e80978096d17dd8afa?branch=rawhide

Log:
Fix FTBFS with gcc16

---
diff --git a/kdebase-3.5.10-gcc16-ansi.patch b/kdebase-3.5.10-gcc16-ansi.patch
new file mode 100644
index 0000000..45c60de
--- /dev/null
+++ b/kdebase-3.5.10-gcc16-ansi.patch
@@ -0,0 +1,14 @@
+--- kdebase-3.5.10/kcontrol/joystick/joydevice.h.gcc	2026-08-08 12:27:30.548028036 +0900
++++ kdebase-3.5.10/kcontrol/joystick/joydevice.h	2026-08-08 12:27:54.938342461 +0900
+@@ -24,9 +24,9 @@
+ #include <qstring.h>
+ 
+ #include <sys/types.h>
+-#undef __STRICT_ANSI__
++//#undef __STRICT_ANSI__
+ #include <linux/joystick.h>
+-#define __STRICT_ANSI__
++//#define __STRICT_ANSI__
+ 
+ // helper class which holds all current values, file descriptor, etc. for
+ // one device

diff --git a/kdebase3.spec b/kdebase3.spec
index 35d368c..1158bc4 100644
--- a/kdebase3.spec
+++ b/kdebase3.spec
@@ -22,7 +22,7 @@
 Name:    kdebase3
 Summary: KDE 3 core files
 Version: 3.5.10
-Release: 87%{?dist}
+Release: 88%{?dist}
 
 # programs: GPLv2, libs: LGPLv2
 License: GPL-2.0-only
@@ -115,6 +115,8 @@ Patch304: kde3-autoconf-version.patch
 # fix FTBFS due to gcc14
 Patch305: kdebase3-ftbfs-gcc14.patch
 Patch306: kdebase3-autoconf-2.72.patch
+# fix FTBFS for gcc16
+Patch307: kdebase-3.5.10-gcc16-ansi.patch
 
 Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
 
@@ -300,6 +302,7 @@ install -p -m644 %{SOURCE9} %{SOURCE10} %{SOURCE11} pics/crystalsvg/
 %patch -P304 -p1 -b .autoconf2.7x
 %patch -P305 -p1 -b .ftbfs-gcc14
 %patch -P306 -p1 -b .autoconf-2.72
+%patch -P307 -p1 -b .gcc16
 
 make -f admin/Makefile.common cvs
 
@@ -769,6 +772,9 @@ fi
 
 
 %changelog
+* Sat Aug 08 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.10-88
+- Fix FTBFS with gcc16
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.10-87
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10  3:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  3:55 [rpms/kdebase3] rawhide: Fix FTBFS with gcc16 Mamoru TASAKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox