public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rapidyaml] f45: Patch for cmake not finding c4core dep.: fix RHBZ#2517507
@ 2026-09-05 8:04 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-05 8:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rapidyaml
Branch : f45
Commit : 93f4b116af2be1e5b7998ada5c75d03fd97af1e9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-05T08:45:01+01:00
Stats : +37/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rapidyaml/c/93f4b116af2be1e5b7998ada5c75d03fd97af1e9?branch=f45
Log:
Patch for cmake not finding c4core dep.: fix RHBZ#2517507
---
diff --git a/662.patch b/662.patch
new file mode 100644
index 0000000..8f9e13d
--- /dev/null
+++ b/662.patch
@@ -0,0 +1,27 @@
+From b4d80b0e89bde09ec7d6333777fcf17405a532bd Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Sat, 5 Sep 2026 08:01:18 +0100
+Subject: [PATCH] Fix `c4_install_exports` call with system `c4core`
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes #659. Based on a suggestion by Sébastien Noel (@twolife) in a
+comment on that issue.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 285dc9937..b482a75ea 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -200,7 +200,7 @@ endif()
+
+ if(RYML_INSTALL)
+ c4_install_target(ryml)
+- if(RYML_STANDALONE OR RYML_SYSTEM_C4CORE)
++ if(RYML_STANDALONE AND NOT RYML_SYSTEM_C4CORE)
+ c4_install_exports()
+ else()
+ c4_install_exports(DEPENDENCIES c4core)
diff --git a/rapidyaml.spec b/rapidyaml.spec
index 2155a13..d48729f 100644
--- a/rapidyaml.spec
+++ b/rapidyaml.spec
@@ -39,6 +39,16 @@ Source10: patch-no-download
# cmake: fix test linking with c4core when using RYML_SYSTEM_C4CORE
# https://github.com/biojppm/rapidyaml/pull/653
Patch: %{url}/pull/653.patch
+# Fix `c4_install_exports` call with system `c4core`
+# https://github.com/biojppm/rapidyaml/pull/662
+#
+# Fixes:
+#
+# Missing find_package() for c4core with RYML_SYSTEM_C4CORE=ON?
+# https://github.com/biojppm/rapidyaml/issues/659
+# CMake configuration fails due to missing c4core dependency
+# https://bugzilla.redhat.com/show_bug.cgi?id=2517507
+Patch: %{url}/pull/662.patch
BuildSystem: cmake
# Disable RYML_FUZZ_TEST so that we do not have to include the contents of
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-05 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-05 8:04 [rpms/rapidyaml] f45: Patch for cmake not finding c4core dep.: fix RHBZ#2517507 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