[packages/xmms-visualization-dflowers] Rel 4

arekm arekm at pld-linux.org
Sun Mar 15 18:28:55 CET 2026


commit 0c79ac8bbcb315c317b68df4380d7b2c704a10ef
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 18:28:48 2026 +0100

    Rel 4

 xmms-visualization-dflowers-string.patch | 14 ++++++++++++++
 xmms-visualization-dflowers.spec         |  8 ++++++--
 2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/xmms-visualization-dflowers.spec b/xmms-visualization-dflowers.spec
index df2a521..bebda4b 100644
--- a/xmms-visualization-dflowers.spec
+++ b/xmms-visualization-dflowers.spec
@@ -2,11 +2,12 @@ Summary:	Dual Flowers
 Summary(pl.UTF-8):	Podwójny Kwiat
 Name:		xmms-visualization-dflowers
 Version:	1.2.1
-Release:	3
+Release:	4
 License:	GPL
 Group:		X11/Applications/Multimedia
 Source0:	http://www.shell.linux.se/bm/f/dflowers-v%{version}.tar.gz
 # Source0-md5:	6d1d87b1f8dfb3485040d4c82b585481
+Patch0:		%{name}-string.patch
 URL:		http://www.shell.linux.se/bm/index.php
 BuildRequires:	rpmbuild(macros) >= 1.125
 BuildRequires:	xmms-devel >= 1.2.3
@@ -21,10 +22,13 @@ Wtyczka Podwójny Kwiat dla XMMS-a.
 
 %prep
 %setup -q -n dflowers-v%{version}
+%patch -P0 -p1
 
 %build
 %{__make} \
-	OPT="%{rpmcflags}"
+	CC="%{__cc}" \
+	OPT="%{rpmcflags}" \
+	LFLAGS="%{rpmldflags} -shared -fPIC -L/usr/local/lib"
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/xmms-visualization-dflowers-string.patch b/xmms-visualization-dflowers-string.patch
new file mode 100644
index 0000000..4b66a4c
--- /dev/null
+++ b/xmms-visualization-dflowers-string.patch
@@ -0,0 +1,14 @@
+Include string.h for strcmp().
+
+Modern compilers reject the implicit declaration.
+
+--- a/dflowers.c
++++ b/dflowers.c
+@@ -9,6 +9,7 @@
+ #include <math.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <xmms/plugin.h>
+ #include <xmms/configfile.h>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xmms-visualization-dflowers.git/commitdiff/0c79ac8bbcb315c317b68df4380d7b2c704a10ef



More information about the pld-cvs-commit mailing list