summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-08-16 10:37:03 +0000
committeracm <acm@FreeBSD.org>2006-08-16 10:37:03 +0000
commitb04bdbdd113a2c78e52c57d8e0ae4f0013fde0f6 (patch)
tree4d78d04f8bc14f95d8fe10717aaef5d66021f352
parent968f512cd8b997497f75b8e2e62848e0cee352e4 (diff)
downloadFreeBSD-ports-b04bdbdd113a2c78e52c57d8e0ae4f0013fde0f6.zip
FreeBSD-ports-b04bdbdd113a2c78e52c57d8e0ae4f0013fde0f6.tar.gz
- Update to 0.13
- Remove broken on 4.x Approved by: garga (mentor)
-rw-r--r--audio/libjackasyn/Makefile8
-rw-r--r--audio/libjackasyn/distinfo6
-rw-r--r--audio/libjackasyn/files/patch-libjackoss.c28
3 files changed, 29 insertions, 13 deletions
diff --git a/audio/libjackasyn/Makefile b/audio/libjackasyn/Makefile
index d3b4275..5c344d1 100644
--- a/audio/libjackasyn/Makefile
+++ b/audio/libjackasyn/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libjackasyn
-PORTVERSION= 0.12
+PORTVERSION= 0.13
CATEGORIES= audio devel
MASTER_SITES= http://gige.xdv.org/soft/libjackasyn/download/
@@ -18,7 +18,7 @@ LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+= -I${LOCALBASE}/include
@@ -36,10 +36,6 @@ MAN1= jacklaunch.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= does not compile
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%PTHREAD%%|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/audio/libjackasyn/distinfo b/audio/libjackasyn/distinfo
index 94f5bef8..a68e84e 100644
--- a/audio/libjackasyn/distinfo
+++ b/audio/libjackasyn/distinfo
@@ -1,3 +1,3 @@
-MD5 (libjackasyn-0.12.tar.gz) = fae5e0315668798f009b91ca6d34d29e
-SHA256 (libjackasyn-0.12.tar.gz) = 39f64bf5297549a816692e26342003ee0cd4e54fe5bfe1056d92b8dcc79d46f1
-SIZE (libjackasyn-0.12.tar.gz) = 73802
+MD5 (libjackasyn-0.13.tar.gz) = 7f82157b64aa4936e695b923a75df291
+SHA256 (libjackasyn-0.13.tar.gz) = 77cf477815a054d508b0bdd34ffcedfe22c091bfbd4367c55c7e33e29089a902
+SIZE (libjackasyn-0.13.tar.gz) = 74041
diff --git a/audio/libjackasyn/files/patch-libjackoss.c b/audio/libjackasyn/files/patch-libjackoss.c
index 133a7ca..64e32c0 100644
--- a/audio/libjackasyn/files/patch-libjackoss.c
+++ b/audio/libjackasyn/files/patch-libjackoss.c
@@ -1,6 +1,17 @@
---- libjackoss.c Mon Mar 6 07:19:23 2006
-+++ libjackoss.c Mon Mar 6 12:25:46 2006
-@@ -117,7 +117,7 @@
+--- libjackoss.c Mon Mar 6 08:17:57 2006
++++ libjackoss.c Tue Aug 15 17:36:31 2006
+@@ -32,7 +32,9 @@
+ #define REAL_LIBC ((void *) -1L)
+ #endif
+
+-
++#if defined (__FreeBSD__)
++#define O_LARGEFILE 0
++#endif
+
+ #if 1
+ int (*_select)(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
+@@ -119,7 +121,7 @@
}
va_start (args, flags);
@@ -9,7 +20,16 @@
va_end (args);
if ((strncmp(name,"/dev/dsp",8) && strncmp(name,"/dev/audio",8))
-@@ -367,10 +367,10 @@
+@@ -198,7 +200,7 @@
+ DEBUG(fprintf(stderr,"%s\n",__FUNCTION__));
+ if (oflag & O_CREAT) {
+ va_start(args, oflag);
+- mode = va_arg(args, mode_t);
++ mode = va_arg(args, int);
+ va_end(args);
+ }
+ return jackoss_open(file, oflag | O_LARGEFILE, mode);
+@@ -386,10 +388,10 @@
UNIMPLEMENTED( SNDCTL_DSP_MAPOUTBUF);
UNIMPLEMENTED( SNDCTL_DSP_SETSYNCRO);
UNIMPLEMENTED( SNDCTL_DSP_SETDUPLEX);
OpenPOWER on IntegriCloud