public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/bear] epel10: Rebuilt for fmt 9.0.0
Date: Sat, 11 Jul 2026 02:31:31 GMT	[thread overview]
Message-ID: <178373709127.1.18166794614348148796.rpms-bear-0597f18f255c@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-11  2:31 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=178373709127.1.18166794614348148796.rpms-bear-0597f18f255c@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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