public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/afflib] f45: fix build with gcc 16
@ 2026-10-21 9:07 Marcin Juszkiewicz
0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-10-21 9:07 UTC (permalink / raw)
To: git-commits
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 \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-21 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 9:07 [rpms/afflib] f45: fix build with gcc 16 Marcin Juszkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox