public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Gansser <mgansser@netcom-mail.de>
To: git-commits@fedoraproject.org
Subject: [rpms/libclaw] rawhide: Add libclaw-1.7.4-fix-static-library.patch
Date: Mon, 27 Jul 2026 19:14:12 GMT	[thread overview]
Message-ID: <178517965280.1.3894876878773427025.rpms-libclaw-e2c05dcae061@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-27 19:14 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=178517965280.1.3894876878773427025.rpms-libclaw-e2c05dcae061@fedoraproject.org \
    --to=mgansser@netcom-mail.de \
    --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