public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/afflib] f45: fix build with gcc 16
Date: Wed, 21 Oct 2026 09:07:09 GMT	[thread overview]
Message-ID: <179257362971.1.10621365555357748633.rpms-afflib-f748b0077f6a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/afflib
Branch : f45
Commit : f748b0077f6af5f4d9a49c20854da90a0ddaa403
Author : Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Date   : 2026-10-14T13:56:56+02:00
Stats  : +28/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/afflib/c/f748b0077f6af5f4d9a49c20854da90a0ddaa403?branch=f45

Log:
fix build with gcc 16

---
diff --git a/afflib.spec b/afflib.spec
index 5bc199d..b411579 100644
--- a/afflib.spec
+++ b/afflib.spec
@@ -13,6 +13,7 @@ Summary:        Library to support the Advanced Forensic Format
 URL:            https://github.com/sshock/AFFLIBv3
 VCS:            https://github.com/sshock/AFFLIBv3
 Source0:        %{vcs}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+Patch0:         fix-60-build-error-with-gcc-16.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  libtool

diff --git a/fix-60-build-error-with-gcc-16.patch b/fix-60-build-error-with-gcc-16.patch
new file mode 100644
index 0000000..32c7574
--- /dev/null
+++ b/fix-60-build-error-with-gcc-16.patch
@@ -0,0 +1,27 @@
+From f35df6c1d2610e3233c30d50054c00e29d7d5a23 Mon Sep 17 00:00:00 2001
+From: Phillip Hellewell <sshock@gmail.com>
+Date: Fri, 15 May 2026 16:37:32 -0600
+Subject: [PATCH] Fix #60: build error with gcc-16
+
+due to missing objects in libafflib.so
+---
+ lib/Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/Makefile.am b/lib/Makefile.am
+index 0aafa9c..6f6de4f 100644
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -100,10 +100,12 @@ LZMA_SOURCES =  \
+ 	@top_srcdir@/lzma443/C/7zip/Compress/LZ/LZInWindow.cpp \
+ 	@top_srcdir@/lzma443/C/7zip/Compress/LZ/LZOutWindow.cpp \
+ 	@top_srcdir@/lzma443/C/7zip/Compress/RangeCoder/RangeCoderBit.cpp \
++	@top_srcdir@/lzma443/C/7zip/Common/FileStreams.cpp \
+ 	@top_srcdir@/lzma443/C/7zip/Common/InBuffer.cpp \
+ 	@top_srcdir@/lzma443/C/7zip/Common/OutBuffer.cpp \
+ 	@top_srcdir@/lzma443/C/7zip/Common/StreamUtils.cpp \
+ 	@top_srcdir@/lzma443/C/Common/Alloc.cpp \
++	@top_srcdir@/lzma443/C/Common/C_FileIO.cpp \
+ 	@top_srcdir@/lzma443/C/Common/CommandLineParser.cpp \
+ 	@top_srcdir@/lzma443/C/Common/CRC.cpp \
+ 	@top_srcdir@/lzma443/C/Common/String.cpp \

                 reply	other threads:[~2026-10-21  9:07 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=179257362971.1.10621365555357748633.rpms-afflib-f748b0077f6a@fedoraproject.org \
    --to=marcin@juszkiewicz.com.pl \
    --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