pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/tunepimp Use BSD mount interface on DragonFly. U...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e7f5bc6d9a1
branches:  trunk
changeset: 502946:9e7f5bc6d9a1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Nov 11 16:04:29 2005 +0000

description:
Use BSD mount interface on DragonFly. Use PTHREAD variables to link
for !FreeBSD platforms instead of wired -lpthread.

diffstat:

 audio/tunepimp/distinfo         |   5 +++--
 audio/tunepimp/patches/patch-ab |  13 +++++++++++--
 audio/tunepimp/patches/patch-ac |  13 +++++++++++++
 3 files changed, 27 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r 50253d8e7fbe -r 9e7f5bc6d9a1 audio/tunepimp/distinfo
--- a/audio/tunepimp/distinfo   Fri Nov 11 16:01:20 2005 +0000
+++ b/audio/tunepimp/distinfo   Fri Nov 11 16:04:29 2005 +0000
@@ -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 -r 50253d8e7fbe -r 9e7f5bc6d9a1 audio/tunepimp/patches/patch-ab
--- a/audio/tunepimp/patches/patch-ab   Fri Nov 11 16:01:20 2005 +0000
+++ b/audio/tunepimp/patches/patch-ab   Fri Nov 11 16:04:29 2005 +0000
@@ -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 -r 50253d8e7fbe -r 9e7f5bc6d9a1 audio/tunepimp/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/tunepimp/patches/patch-ac   Fri Nov 11 16:04:29 2005 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index