public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/cairo-dock-plug-ins] nightly: add workaround for unbuffer / expect issue
Date: Tue, 30 Jun 2026 11:14:28 GMT	[thread overview]
Message-ID: <178281806849.1.2374195164887512085.rpms-cairo-dock-plug-ins-3fcd7ae9c5cc@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-30 11: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=178281806849.1.2374195164887512085.rpms-cairo-dock-plug-ins-3fcd7ae9c5cc@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --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