public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cairo-dock-plug-ins] nightly: add workaround for unbuffer / expect issue
@ 2026-06-30 11:14 Mamoru TASAKA
0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-06-30 11:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cairo-dock-plug-ins
Branch : nightly
Commit : 3fcd7ae9c5cc0aa8976acb885307c2737551d4aa
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2026-06-30T20:14:16+09:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/cairo-dock-plug-ins/c/3fcd7ae9c5cc0aa8976acb885307c2737551d4aa?branch=nightly
Log:
add workaround for unbuffer / expect issue
---
diff --git a/cairo-dock-plug-ins-3.6.99-20260514-C23-constness.patch b/cairo-dock-plug-ins-3.6.99-20260514-C23-constness.patch
new file mode 100644
index 0000000..4c8f468
--- /dev/null
+++ b/cairo-dock-plug-ins-3.6.99-20260514-C23-constness.patch
@@ -0,0 +1,11 @@
+--- cairo-dock-plugins-3.6.99-20260514/musicPlayer/src/applet-amazon.c.const 2026-05-14 06:40:50.000000000 +0900
++++ cairo-dock-plugins-3.6.99-20260514/musicPlayer/src/applet-amazon.c 2026-06-30 20:08:04.307876961 +0900
+@@ -202,7 +202,7 @@ static gchar *_url_encode (const gchar *
+ gchar * t = NULL;
+ gchar * ret;
+ const gchar * validChars = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.!~*'()";
+- gchar * isValidChar;
++ const gchar * isValidChar;
+ int lenght = 0;
+ // calcul de la taille de la chaine urlEncod�e
+ do{
diff --git a/cairo-dock-plug-ins.spec b/cairo-dock-plug-ins.spec
index ea81be1..ffb3eb7 100644
--- a/cairo-dock-plug-ins.spec
+++ b/cairo-dock-plug-ins.spec
@@ -42,6 +42,9 @@ URL: http://glx-dock.org/
Source0: cairo-dock-plugins-fedora-%{tarballver}.tar.gz
# Source0 is created from Source1
Source1: cairo-dock-plug-ins-create-fedora-tarball.sh
+# C23 constness patch (actually to workaround below:)
+# https://github.com/fedora-copr/copr/issues/4361
+Patch0: cairo-dock-plug-ins-3.6.99-20260514-C23-constness.patch
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -205,6 +208,7 @@ binding for Cairo-Dock.
%prep
%setup -q -n cairo-dock-plugins-%{mainver}%{?use_git:-%{gitdate}git%{shorthash}}
+%patch -P0 -p1 -b .c23
## permission
# %%_fixperms cannot fix permissions completely here
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 11:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 11:14 [rpms/cairo-dock-plug-ins] nightly: add workaround for unbuffer / expect issue Mamoru TASAKA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox