summaryrefslogtreecommitdiff
path: root/audio/tunepimp
diff options
context:
space:
mode:
authorjoerg <joerg>2005-11-11 16:04:29 +0000
committerjoerg <joerg>2005-11-11 16:04:29 +0000
commit4d2658384bbf8f381712b460cca7cd1aef537b60 (patch)
tree9fcb10efb0dce76aae48e6a6ed9cd2508ea7ff98 /audio/tunepimp
parentbfcdedbb68b4a43aeab4cf768b1fdf40912e2873 (diff)
downloadpkgsrc-4d2658384bbf8f381712b460cca7cd1aef537b60.tar.gz
Use BSD mount interface on DragonFly. Use PTHREAD variables to link
for !FreeBSD platforms instead of wired -lpthread.
Diffstat (limited to 'audio/tunepimp')
-rw-r--r--audio/tunepimp/distinfo5
-rw-r--r--audio/tunepimp/patches/patch-ab13
-rw-r--r--audio/tunepimp/patches/patch-ac13
3 files changed, 27 insertions, 4 deletions
diff --git a/audio/tunepimp/distinfo b/audio/tunepimp/distinfo
index 4f52c6419f8..054cfbe6f7d 100644
--- a/audio/tunepimp/distinfo
+++ b/audio/tunepimp/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/09/06 08:10:57 abs Exp $
+$NetBSD: distinfo,v 1.5 2005/11/11 16:04:29 joerg Exp $
SHA1 (libtunepimp-0.3.0.tar.gz) = 54c60232f3b06f2316e2b1130eb981352995dfc8
RMD160 (libtunepimp-0.3.0.tar.gz) = f471f96185aa79eff8a83fd5366904d009791628
Size (libtunepimp-0.3.0.tar.gz) = 524889 bytes
SHA1 (patch-aa) = 5dc5f48d01b7b1cdc1462f0bf07d0eb917fdb3c7
-SHA1 (patch-ab) = ede9aa887804bc71f39b067bb538230f81aadcc0
+SHA1 (patch-ab) = 1f5c3ea550800edac66ee8c7365cf436811233a9
+SHA1 (patch-ac) = d117d9df0b0811b1ef046920c2f1c32ce3378c5f
diff --git a/audio/tunepimp/patches/patch-ab b/audio/tunepimp/patches/patch-ab
index 5ff28e36131..f39af5eee0c 100644
--- a/audio/tunepimp/patches/patch-ab
+++ b/audio/tunepimp/patches/patch-ab
@@ -1,7 +1,16 @@
-$NetBSD: patch-ab,v 1.3 2005/09/06 08:10:57 abs Exp $
+$NetBSD: patch-ab,v 1.4 2005/11/11 16:04:29 joerg Exp $
---- lib/write.cpp.orig 2004-03-25 22:12:43.000000000 +1200
+--- lib/write.cpp.orig 2004-03-25 10:12:43.000000000 +0000
+++ lib/write.cpp
+@@ -40,7 +40,7 @@ extern "C"
+ # include <sys/stat.h>
+ # include <sys/types.h>
+ # include <fcntl.h>
+-# if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__)
++# if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+ # include <sys/param.h>
+ # include <sys/mount.h>
+ # else
@@ -896,8 +896,17 @@ bool WriteThread::diskSpaceTest(const st
#else
//---------------------------------------------------------------------------
diff --git a/audio/tunepimp/patches/patch-ac b/audio/tunepimp/patches/patch-ac
new file mode 100644
index 00000000000..78652a034ef
--- /dev/null
+++ b/audio/tunepimp/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2005/11/11 16:04:29 joerg Exp $
+
+--- lib/threads/posix/Makefile.in.orig 2005-11-11 15:54:34.000000000 +0000
++++ lib/threads/posix/Makefile.in
+@@ -204,7 +204,7 @@ target_alias = @target_alias@
+ INCLUDES = -I$(top_srcdir)/include/tunepimp
+ noinst_LTLIBRARIES = libtpthread.la
+ libtpthread_la_SOURCES = mutex.cpp mutex.h thread.cpp thread.h semaphore.cpp semaphore.h
+-@FREEBSD_FALSE@libtpthread_la_LIBADD = -lpthread
++@FREEBSD_FALSE@libtpthread_la_LIBADD = ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ @FREEBSD_TRUE@libtpthread_la_LIBADD = -lthr
+ all: all-am
+