]> git.pld-linux.org Git - packages/audacious-plugins.git/commitdiff
- allow building with libprojectM 1.1 auto/th/audacious-plugins-1_5_0-3 auto/ti/audacious-plugins-1_5_0-3
authorhawk <hawk@pld-linux.org>
Wed, 9 Apr 2008 15:26:01 +0000 (15:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    audacious-plugins-libprojectm11.patch -> 1.1

audacious-plugins-libprojectm11.patch [new file with mode: 0644]

diff --git a/audacious-plugins-libprojectm11.patch b/audacious-plugins-libprojectm11.patch
new file mode 100644 (file)
index 0000000..f5016e0
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur audacious-plugins-1.5.0.orig/configure.ac audacious-plugins-1.5.0/configure.ac
+--- audacious-plugins-1.5.0.orig/configure.ac  2008-03-13 23:22:35.000000000 +0100
++++ audacious-plugins-1.5.0/configure.ac       2008-04-09 16:50:56.258834285 +0200
+@@ -1449,7 +1449,7 @@
+ fi
+ if test "$have_projectm1" = "yes"; then
+-      PKG_CHECK_MODULES(LIBPROJECTM1, [libprojectM < 1.1], [have_projectm1="yes"], [have_projectm1="no"])
++      PKG_CHECK_MODULES(LIBPROJECTM1, [libprojectM >= 1.1], [have_projectm1="yes"], [have_projectm1="no"])
+       if test x$libprjM = xno; then
+               AC_MSG_WARN([*** libprojectM not found.
+                               libprojectM is needed to build this package.
+diff -ur audacious-plugins-1.5.0.orig/src/projectm-1.0/gtk_projectm_impl.cxx audacious-plugins-1.5.0/src/projectm-1.0/gtk_projectm_impl.cxx
+--- audacious-plugins-1.5.0.orig/src/projectm-1.0/gtk_projectm_impl.cxx        2008-03-13 23:22:36.000000000 +0100
++++ audacious-plugins-1.5.0/src/projectm-1.0/gtk_projectm_impl.cxx     2008-04-09 16:51:33.037259169 +0200
+@@ -86,7 +86,7 @@
+     g_return_if_fail(priv != NULL);
+     g_return_if_fail(priv->pm != NULL);
+-    priv->pm->pcm->addPCM16(pcm_data);
++    priv->pm->pcm()->addPCM16(pcm_data);
+ }
+ extern "C" void
This page took 0.055465 seconds and 4 git commands to generate.