public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wol] epel10: Fix build with GCC 15
@ 2026-10-01 18:04 David Auer
  0 siblings, 0 replies; only message in thread
From: David Auer @ 2026-10-01 18:04 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/wol
            Branch : epel10
            Commit : c6d8f44149be15115bfc20170d465fb856b75b7f
            Author : David Auer <dreua@posteo.de>
            Date   : 2025-05-01T01:53:27+02:00
            Stats  : +5/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/wol/c/c6d8f44149be15115bfc20170d465fb856b75b7f?branch=epel10

            Log:
            Fix build with GCC 15

GCC 15 defaults to C23, but the last update was from 2007 so it can't be expected to be compatible with the latest standards.

---
diff --git a/wol.spec b/wol.spec
index 7fea8ad..06b5b93 100644
--- a/wol.spec
+++ b/wol.spec
@@ -1,6 +1,6 @@
 Name:           wol
 Version:        0.7.1
-Release:        36%{?dist}
+Release:        37%{?dist}
 Summary:        Wake On Lan client
 
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -25,6 +25,7 @@ hardware that is Magic Packet compliant. SecureON is supported by wol too.
 %patch -P1 -p1 -b .configure-c99
 
 %build
+export CFLAGS="$CFLAGS -std=gnu11"
 %configure --disable-static
 make %{?_smp_mflags}
 iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv
@@ -43,6 +44,9 @@ rm -f %{buildroot}%{_infodir}/dir
 %{_bindir}/%{name}*
 
 %changelog
+* Wed Apr 30 2025 David Auer <dreua@posteo.de> - 0.7.1-37
+- Fix build with GCC 15
+
 * Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-36
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-10-01 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 18:04 [rpms/wol] epel10: Fix build with GCC 15 David Auer

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