- enable jack support

- add patch from kevlo@FreeBSD to suppress warnings

ok jasper@
This commit is contained in:
ajacoutot 2008-10-12 11:58:22 +00:00
parent 44443af2bf
commit 4fcbcdc65b
2 changed files with 16 additions and 3 deletions

View File

@ -1,12 +1,13 @@
# $OpenBSD: Makefile,v 1.2 2008/07/28 22:47:30 sthen Exp $
# $OpenBSD: Makefile,v 1.3 2008/10/12 11:58:22 ajacoutot Exp $
COMMENT= record desktop sessions to an Ogg-Theora-Vorbis file
DISTNAME= recordmydesktop-0.3.7.3
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
WANTLIB= ICE SM X11 Xdamage Xext Xfixes c m ogg ossaudio pthread z
BUILD_DEPENDS= ::audio/jack
LIB_DEPENDS= vorbis,vorbisfile,vorbisenc::audio/libvorbis \
theora::multimedia/libtheora
@ -14,7 +15,7 @@ USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-oss=yes \
--enable-jack=no
--enable-jack=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -logg -lossaudio -lm"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_rmd_jack_c,v 1.1 2008/10/12 11:58:22 ajacoutot Exp $
--- src/rmd_jack.c.orig Sat Oct 11 13:21:44 2008
+++ src/rmd_jack.c Sat Oct 11 13:21:59 2008
@@ -95,7 +95,7 @@ int SetupPorts(JackData *jdata){
}
int LoadJackLib(void *jack_lib_handle){
- char *error;
+ const char *error;
jack_lib_handle=dlopen("libjack.so",RTLD_LAZY);
if(!jack_lib_handle){
fprintf(stderr,"%s\n",dlerror());