public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/7zip] epel10.2: Fix build with GCC 16
Date: Mon, 15 Jun 2026 18:26:40 GMT	[thread overview]
Message-ID: <178154800006.1.189727881354607181.rpms-7zip-7c4fd0389094@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/7zip
            Branch : epel10.2
            Commit : 7c4fd03890940a428cbcedcee233364127e347e4
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-02-10T22:36:33-05:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/7zip/c/7c4fd03890940a428cbcedcee233364127e347e4?branch=epel10.2

            Log:
            Fix build with GCC 16

Each new version of GCC generates new warnings.

---
diff --git a/7zip.spec b/7zip.spec
index 59ca9bc..53cfad2 100644
--- a/7zip.spec
+++ b/7zip.spec
@@ -78,6 +78,9 @@ Summary:        Standalone version of 7-Zip console that supports all formats
 %prep
 %autosetup -p1
 
+# avoid failures due to new warnings in latest GCC
+sed -i -e 's|-Werror||' CPP/7zip/7zip_gcc.mak
+
 
 %build
 # 7z.so

                 reply	other threads:[~2026-06-15 18:26 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=178154800006.1.189727881354607181.rpms-7zip-7c4fd0389094@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --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