public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bear] epel10: Rebuilt for fmt 9.0.0
@ 2026-07-11 2:31 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-11 2:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bear
Branch : epel10
Commit : 0597f18f255c2bbf38f2473a386971780e3562bf
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2022-07-12T15:17:43-04:00
Stats : +9/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bear/c/0597f18f255c2bbf38f2473a386971780e3562bf?branch=epel10
Log:
Rebuilt for fmt 9.0.0
- Define FMT_DEPRECATED_OSTREAM as a temporary workaround for API
changes.
---
diff --git a/bear.spec b/bear.spec
index 5a276d8..377dcfb 100644
--- a/bear.spec
+++ b/bear.spec
@@ -48,6 +48,15 @@ for f in $(ls test/bin/); do
sed -i "s|^#\!/usr/bin/env\s\+python\s\?$|#!%{__python3}|" test/bin/$f
done
+# Temporary workaround for API changes in fmt 9.0. See:
+#
+# Build failure with fmt-9.0.0
+# https://github.com/rizsotto/Bear/issues/471
+#
+# Note that this macro will be removed in fmt 10.0.
+%set_build_flags
+export CXXFLAGS="${CXXFLAGS} -DFMT_DEPRECATED_OSTREAM"
+
# Functional tests are broken for some unknown reason, disable for now.
%cmake -DENABLE_FUNC_TESTS=ON -DENABLE_UNIT_TESTS=ON
%cmake_build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 2:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 2:31 [rpms/bear] epel10: Rebuilt for fmt 9.0.0 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox