openbsd-ports/audio/hydrogen/patches/patch-configure
jakemsr 756b4a6473 - default to /dev/audio for the audio device, but allow other
devices to be used as well

- add jack output.  these patches are back ported from hydrogen
subversion.

discussed with MAINTAINER
2008-03-24 03:09:42 +00:00

30 lines
837 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2008/03/24 03:09:42 jakemsr Exp $
--- configure.orig Wed Jan 18 14:03:01 2006
+++ configure Fri Feb 29 15:30:23 2008
@@ -4583,7 +4583,7 @@ cat >>confdefs.h <<\_ACEOF
#define FLAC_SUPPORT 1
_ACEOF
- ac_libraries="${ac_libraries} -lFLAC++ -lFLAC"
+ ac_libraries="${ac_libraries} -lFLAC++ -lFLAC -logg"
features_list="${features_list} (FLAC)"
fi
else
@@ -4620,7 +4620,7 @@ if test "${ac_cv_lib_jack_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ljack $LIBS"
+LIBS="-ljack -pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4971,6 +4971,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
features_list="${features_list} (OSS)"
+ ac_libraries="${ac_libraries} -lossaudio"
else
echo "OSS support disabled."
fi