pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/tunepimp Make build on Solaris.
details: https://anonhg.NetBSD.org/pkgsrc/rev/630c3fde3908
branches: trunk
changeset: 482679:630c3fde3908
user: markd <markd%pkgsrc.org@localhost>
date: Mon Nov 01 12:47:22 2004 +0000
description:
Make build on Solaris.
diffstat:
audio/tunepimp/Makefile | 9 ++++++++-
audio/tunepimp/distinfo | 4 ++--
audio/tunepimp/patches/patch-ab | 14 ++++++++++----
3 files changed, 20 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r efdca7631701 -r 630c3fde3908 audio/tunepimp/Makefile
--- a/audio/tunepimp/Makefile Mon Nov 01 10:51:30 2004 +0000
+++ b/audio/tunepimp/Makefile Mon Nov 01 12:47:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/10/07 16:36:47 tv Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/01 12:47:22 markd Exp $
DISTNAME= libtunepimp-0.3.0
PKGNAME= ${DISTNAME:S/lib//}
@@ -20,6 +20,13 @@
USE_LIBTOOL= YES
USE_LANGUAGES= c c++
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+pre-configure:
+ ${ECHO} "#define HAVE_STATVFS 1" >> ${WRKSRC}/config.h.in
+.endif
+
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
diff -r efdca7631701 -r 630c3fde3908 audio/tunepimp/distinfo
--- a/audio/tunepimp/distinfo Mon Nov 01 10:51:30 2004 +0000
+++ b/audio/tunepimp/distinfo Mon Nov 01 12:47:22 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/08/21 11:17:55 markd Exp $
+$NetBSD: distinfo,v 1.2 2004/11/01 12:47:22 markd Exp $
SHA1 (libtunepimp-0.3.0.tar.gz) = 54c60232f3b06f2316e2b1130eb981352995dfc8
Size (libtunepimp-0.3.0.tar.gz) = 524889 bytes
SHA1 (patch-aa) = 5dc5f48d01b7b1cdc1462f0bf07d0eb917fdb3c7
-SHA1 (patch-ab) = 7c7f5343a3d5bd786679a2f0b99cdd47585df584
+SHA1 (patch-ab) = 1874c3536b1cfa87d5f911a26fb6d9f830189324
diff -r efdca7631701 -r 630c3fde3908 audio/tunepimp/patches/patch-ab
--- a/audio/tunepimp/patches/patch-ab Mon Nov 01 10:51:30 2004 +0000
+++ b/audio/tunepimp/patches/patch-ab Mon Nov 01 12:47:22 2004 +0000
@@ -1,12 +1,18 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/08/21 11:17:55 markd Exp $
+$NetBSD: patch-ab,v 1.2 2004/11/01 12:47:22 markd Exp $
---- lib/write.cpp.orig 2004-08-19 01:38:57.000000000 +1200
+--- lib/write.cpp.orig 2004-03-25 22:12:43.000000000 +1200
+++ lib/write.cpp
-@@ -898,6 +898,11 @@ bool WriteThread::diskSpaceTest(const st
+@@ -896,8 +896,17 @@ bool WriteThread::diskSpaceTest(const st
+ #else
+ //---------------------------------------------------------------------------
++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */
++#define HAVE_STATVFS 1
++#endif
++
bool WriteThread::diskSpaceTest(const string &fileName, unsigned long fileSize)
{
-+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */
++#if defined(HAVE_STATVFS)
+#define statfs statvfs
+#define f_bsize f_frsize
+#endif
Home |
Main Index |
Thread Index |
Old Index