public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/kdebase3] rawhide: Fix FTBFS with gcc16
Date: Mon, 10 Aug 2026 03:55:42 GMT	[thread overview]
Message-ID: <178633414253.1.5078205640643616239.rpms-kdebase3-0be004f65582@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-10  3:55 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=178633414253.1.5078205640643616239.rpms-kdebase3-0be004f65582@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --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