[packages/alsaplayer] fix mikmod detection
atler
atler at pld-linux.org
Fri Feb 14 22:40:04 CET 2025
commit eab65b1a4efc0479419743a19c583ad16565dfb1
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Feb 14 22:37:54 2025 +0100
fix mikmod detection
alsaplayer.spec | 2 ++
configure.patch | 10 ++++++++++
2 files changed, 12 insertions(+)
---
diff --git a/alsaplayer.spec b/alsaplayer.spec
index d4a503d..5a6162d 100644
--- a/alsaplayer.spec
+++ b/alsaplayer.spec
@@ -18,6 +18,7 @@ Source0: http://www.alsaplayer.org/%{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-docs.patch
+Patch1: configure.patch
URL: http://www.alsaplayer.org/
BuildRequires: OpenGL-devel
BuildRequires: alsa-lib-devel
@@ -385,6 +386,7 @@ Biblioteka statyczna Alsaplayera.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__libtoolize}
diff --git a/configure.patch b/configure.patch
new file mode 100644
index 0000000..e771f8a
--- /dev/null
+++ b/configure.patch
@@ -0,0 +1,10 @@
+--- alsaplayer-0.99.81/acinclude.m4.orig 2010-11-07 22:19:32.000000000 +0100
++++ alsaplayer-0.99.81/acinclude.m4 2025-02-14 22:36:31.435835349 +0100
+@@ -2656,6 +2656,7 @@
+ #include <mikmod.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ char* my_strdup (char *str)
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alsaplayer.git/commitdiff/eab65b1a4efc0479419743a19c583ad16565dfb1
More information about the pld-cvs-commit
mailing list