[packages/perl-Xmms] add missing includes
atler
atler at pld-linux.org
Mon Aug 4 12:34:13 CEST 2025
commit c7da2791e11359681c0e54ad7832c05581dc21cb
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Aug 4 12:33:54 2025 +0200
add missing includes
includes.patch | 20 ++++++++++++++++++++
perl-Xmms.spec | 2 ++
2 files changed, 22 insertions(+)
---
diff --git a/perl-Xmms.spec b/perl-Xmms.spec
index c2d9e1d..9088c11 100644
--- a/perl-Xmms.spec
+++ b/perl-Xmms.spec
@@ -14,6 +14,7 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Xmms/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: d1fbf6d09330f7855dd80f3ceee8e6f7
+Patch0: includes.patch
URL: http://search.cpan.org/dist/Xmms-Perl/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -35,6 +36,7 @@ przez XMMS-a API xmms_remote.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch -P0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..164c0d9
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,20 @@
+--- Xmms-Perl-0.12/Remote/Remote.xs.orig 2002-03-21 07:34:48.000000000 +0100
++++ Xmms-Perl-0.12/Remote/Remote.xs 2025-08-04 12:27:56.992635334 +0200
+@@ -6,6 +6,7 @@
+
+ #undef list
+
++#include "xmms/util.h"
+ #include "xmms/xmmsctrl.h"
+
+ typedef gint Xmms__Remote;
+--- Xmms-Perl-0.12/SongChange/SongChange.xs.orig 2000-04-13 18:36:34.000000000 +0200
++++ Xmms-Perl-0.12/SongChange/SongChange.xs 2025-08-04 12:28:29.459498200 +0200
+@@ -2,6 +2,7 @@
+ #include "perl.h"
+ #include "XSUB.h"
+
++#include "xmms/util.h"
+ #include "xmms/xmmsctrl.h"
+ #include "pthread.h"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Xmms.git/commitdiff/c7da2791e11359681c0e54ad7832c05581dc21cb
More information about the pld-cvs-commit
mailing list