public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libclaw] rawhide: Add libclaw-1.7.4-fix-static-library.patch
@ 2026-07-27 19:14 Martin Gansser
  0 siblings, 0 replies; only message in thread
From: Martin Gansser @ 2026-07-27 19:14 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libclaw
Branch : rawhide
Commit : e2c05dcae06180793573c036eceb98966557c357
Author : Martin Gansser <mgansser@netcom-mail.de>
Date   : 2026-07-27T19:14:02+00:00
Stats  : +17/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libclaw/c/e2c05dcae06180793573c036eceb98966557c357?branch=rawhide

Log:
Add libclaw-1.7.4-fix-static-library.patch

---
diff --git a/libclaw-1.7.4-fix-static-library.patch b/libclaw-1.7.4-fix-static-library.patch
new file mode 100644
index 0000000..7e15960
--- /dev/null
+++ b/libclaw-1.7.4-fix-static-library.patch
@@ -0,0 +1,11 @@
+--- libclaw-1.7.4/CMakeLists.txt.orig	2026-07-27 18:39:02.023849599 +0000
++++ libclaw-1.7.4/CMakeLists.txt	2026-07-27 18:40:00.559922229 +0000
+@@ -85,7 +85,7 @@
+   ${CLAW_CODE_DIR}arguments_table.cpp
+ )
+ add_library( claw_application SHARED ${CLAW_APPLICATION_SOURCES} )
+-add_library( claw_application-static ${CLAW_APPLICATION_SOURCES} )
++add_library( claw_application-static STATIC STATIC ${CLAW_APPLICATION_SOURCES} )
+ target_link_libraries( claw_application claw_logger )
+ 
+ if( NOT WIN32 )

diff --git a/libclaw.spec b/libclaw.spec
index a2ef6ec..7fd5327 100644
--- a/libclaw.spec
+++ b/libclaw.spec
@@ -1,6 +1,6 @@
 Name:           libclaw
 Version:        1.7.4
-Release:        46%{?dist}
+Release:        47%{?dist}
 Summary:        C++ Library of various utility functions
 # Automatically converted from old format: LGPLv2 - review is highly recommended.
 License:        LicenseRef-Callaway-LGPLv2
@@ -15,7 +15,8 @@ Patch3:         libclaw-1.7.4-noarch.patch
 Patch4:         libclaw-1.7.4-gcc7.patch
 # Fix example build with C++20 by avoiding reserved keyword 'concept' 
 Patch5:         libclaw-c++20-no-concept-keyword.patch
-
+# fix static library
+Patch6:         libclaw-1.7.4-fix-static-library.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
@@ -100,6 +101,9 @@ done
 
 
 %changelog
+* Mon Jul 27 2026 Martin Gansser <martinkg@fedoraproject.org> - 1.7.4-47
+- Add libclaw-1.7.4-fix-static-library.patch
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-46
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-27 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 19:14 [rpms/libclaw] rawhide: Add libclaw-1.7.4-fix-static-library.patch Martin Gansser

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