public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitaly Zaitsev <vitaly@easycoding.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bear] epel10: Added upstream patch with fmt 10 fixes.
Date: Sat, 11 Jul 2026 02:31:38 GMT [thread overview]
Message-ID: <178373709816.1.13909308261670923458.rpms-bear-04c9e40fdf92@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bear
Branch : epel10
Commit : 04c9e40fdf9276ab81a36675658adab7e8cd5e8f
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date : 2023-06-28T12:21:31+02:00
Stats : +27/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bear/c/04c9e40fdf9276ab81a36675658adab7e8cd5e8f?branch=epel10
Log:
Added upstream patch with fmt 10 fixes.
---
diff --git a/bear-fmt10-fixes.patch b/bear-fmt10-fixes.patch
new file mode 100644
index 0000000..bd75b2a
--- /dev/null
+++ b/bear-fmt10-fixes.patch
@@ -0,0 +1,23 @@
+From 46a032fa0fc8131779ece13f26735ec84be891e8 Mon Sep 17 00:00:00 2001
+From: jinqiang zhang <peeweep@0x0.ee>
+Date: Thu, 11 May 2023 03:33:17 +0800
+Subject: [PATCH] dependency: fix fmt 10.0.0 incompatibilities (#526)
+
+Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
+---
+ source/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
+index 6da1131f..fe6b710b 100644
+--- a/source/CMakeLists.txt
++++ b/source/CMakeLists.txt
+@@ -29,7 +29,7 @@ find_package(spdlog REQUIRED)
+ find_package(PkgConfig REQUIRED)
+ pkg_check_modules(gRPC REQUIRED IMPORTED_TARGET protobuf grpc++)
+
+-if (fmt_VERSION_MAJOR EQUAL 9)
++if (fmt_VERSION_MAJOR GREATER_EQUAL 9)
+ set(FMT_NEEDS_OSTREAM_FORMATTER 1)
+ set(HAVE_FMT_STD_H 1) # FIXME: this should be done with `check_include_file`
+ endif ()
diff --git a/bear.spec b/bear.spec
index 370ea6c..fb4141c 100644
--- a/bear.spec
+++ b/bear.spec
@@ -7,6 +7,9 @@ License: GPL-3.0-or-later
URL: https://github.com/rizsotto/%{name}
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+# https://github.com/rizsotto/Bear/commit/46a032fa0fc8131779ece13f26735ec84be891e8
+Patch: %{name}-fmt10-fixes.patch
+
BuildRequires: cmake
BuildRequires: cmake(fmt)
BuildRequires: cmake(gtest)
@@ -40,7 +43,7 @@ how single compilation unit should be processed and can be used by Clang
tooling.
%prep
-%autosetup -n Bear-%{version}
+%autosetup -n Bear-%{version} -p1
%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=178373709816.1.13909308261670923458.rpms-bear-04c9e40fdf92@fedoraproject.org \
--to=vitaly@easycoding.org \
--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