[packages/xmms-clxmms] Rel 8

arekm arekm at pld-linux.org
Sun Mar 15 14:51:20 CET 2026


commit 574ecf297ff3db3949a285446a9ca5ff132b37aa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 14:51:11 2026 +0100

    Rel 8

 clxmms-strerror.patch | 11 +++++++++++
 xmms-clxmms.spec      |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/xmms-clxmms.spec b/xmms-clxmms.spec
index fa1038a..0918d8b 100644
--- a/xmms-clxmms.spec
+++ b/xmms-clxmms.spec
@@ -2,11 +2,12 @@ Summary:	Command-Line Xmms controlling program
 Summary(pl.UTF-8):	Program kontrolujący XMMS-a z linii poleceń
 Name:		xmms-clxmms
 Version:	0.6
-Release:	7
+Release:	8
 License:	GPL
 Group:		Applications/Sound
 Source0:	http://kolos.math.uni.lodz.pl/~bajcik/stuff/clxmms-%{version}.tar.gz
 Patch0:		clxmms.patch
+Patch1:		clxmms-strerror.patch
 # Source0-md5:	9ed0759c6e3765c0f9c2d65784db35f0
 BuildRequires:	xmms-devel
 BuildRequires:	readline-devel
@@ -23,6 +24,7 @@ odtwarzaczem XMMS z linii poleceń.
 %prep
 %setup -q -n clxmms-%{version}
 %patch -P0 -p0
+%patch -P1 -p0
 
 %build
 %{__make} \
diff --git a/clxmms-strerror.patch b/clxmms-strerror.patch
new file mode 100644
index 0000000..6dcf303
--- /dev/null
+++ b/clxmms-strerror.patch
@@ -0,0 +1,11 @@
+--- clxmms.c
++++ clxmms.c
+@@ -512,7 +512,7 @@
+ 						continue;
+ 					printf("Deleting: \"%s\": ", file);
+ 					if (unlink(file))
+-						printf(color ? CLRED "%s" CLNORMAL "\n" : "%s\n", sys_errlist[errno]);
++						printf(color ? CLRED "%s" CLNORMAL "\n" : "%s\n", strerror(errno));
+ 					else
+ 						printf(color ? CLGREEN "OK" CLNORMAL "\n" : "OK\n");
+ 						
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xmms-clxmms.git/commitdiff/574ecf297ff3db3949a285446a9ca5ff132b37aa



More information about the pld-cvs-commit mailing list