# HG changeset patch # User William Pitcock # Date 1205444353 18000 # Node ID e55dd1239c070bed6f575b7a8dcaf26ad174ef18 # Parent bfa3d9faa4f07804b15a8204bce3c2931c62abe2 Make this work with projectM 1.0 again. diff -r bfa3d9faa4f0 -r e55dd1239c07 configure.ac --- a/configure.ac Thu Mar 13 23:23:04 2008 +0200 +++ b/configure.ac Thu Mar 13 16:39:13 2008 -0500 @@ -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.0], [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 -r bfa3d9faa4f0 -r e55dd1239c07 src/projectm-1.0/gtk_projectm_impl.cxx --- a/src/projectm-1.0/gtk_projectm_impl.cxx Thu Mar 13 23:23:04 2008 +0200 +++ b/src/projectm-1.0/gtk_projectm_impl.cxx Thu Mar 13 16:39:13 2008 -0500 @@ -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