public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bear] epel10: Added upstream patch with fmt 10 fixes.
@ 2026-07-11  2:31 Vitaly Zaitsev
  0 siblings, 0 replies; only message in thread
From: Vitaly Zaitsev @ 2026-07-11  2:31 UTC (permalink / raw)
  To: git-commits

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

^ 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: Added upstream patch with fmt 10 fixes Vitaly Zaitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox