public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Auer <dreua@posteo.de>
To: git-commits@fedoraproject.org
Subject: [rpms/wol] epel10: Fix build with GCC 15
Date: Thu, 01 Oct 2026 18:04:03 GMT	[thread overview]
Message-ID: <179087784363.1.12518719058971790625.rpms-wol-c6d8f44149be@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-10-01 18:04 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=179087784363.1.12518719058971790625.rpms-wol-c6d8f44149be@fedoraproject.org \
    --to=dreua@posteo.de \
    --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