summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch')
-rw-r--r--media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch b/media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch
new file mode 100644
index 000000000000..cb8a3b473484
--- /dev/null
+++ b/media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch
@@ -0,0 +1,14 @@
+--- trunk/recordmydesktop/configure.ac 2008/12/13 17:46:41 584
++++ trunk/recordmydesktop/configure.ac 2009/01/10 11:35:06 587
+@@ -95,7 +95,10 @@
+ AC_MSG_ERROR([Can't find libpthread]))
+
+ if test x$jack = xtrue ; then
+-AC_CHECK_LIB([jack],[jack_activate],jack_lib_found=true,)
++AC_CHECK_LIB([jack],[jack_activate],
++ [LIBS="$LIBS -ljack"
++ AC_DEFINE([HAVE_LIBJACK], [1], [Define to 1 if you have libjack.])
++ jack_lib_found=true])
+ fi
+
+ if test x$oss = xfalse; then