summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/libmp3splt/Makefile8
-rw-r--r--audio/libmp3splt/PLIST4
-rw-r--r--audio/libmp3splt/distinfo9
-rw-r--r--audio/libmp3splt/patches/patch-aa13
4 files changed, 26 insertions, 8 deletions
diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile
index fa0979df64f..b617747e552 100644
--- a/audio/libmp3splt/Makefile
+++ b/audio/libmp3splt/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2009/12/15 21:30:53 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2010/11/30 19:16:23 drochner Exp $
#
-DISTNAME= libmp3splt-0.5.6
-PKGREVISION= 1
+DISTNAME= libmp3splt-0.6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3splt/}
@@ -15,10 +14,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+CONFIGURE_ARGS+= --with-ltdl-include=${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-ltdl-lib=${LOCALBASE}/lib
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libmp3splt/PLIST b/audio/libmp3splt/PLIST
index abce74417d2..27ee36dc0e1 100644
--- a/audio/libmp3splt/PLIST
+++ b/audio/libmp3splt/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2009/07/25 14:58:00 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.5 2010/11/30 19:16:23 drochner Exp $
include/libmp3splt/mp3splt.h
lib/libmp3splt.la
lib/libmp3splt/libsplt_mp3.la
lib/libmp3splt/libsplt_ogg.la
share/aclocal/mp3splt.m4
+share/locale/de/LC_MESSAGES/libmp3splt.mo
+share/locale/fr/LC_MESSAGES/libmp3splt.mo
diff --git a/audio/libmp3splt/distinfo b/audio/libmp3splt/distinfo
index e1dead134a0..04150708cc3 100644
--- a/audio/libmp3splt/distinfo
+++ b/audio/libmp3splt/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/07/25 14:58:00 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2010/11/30 19:16:23 drochner Exp $
-SHA1 (libmp3splt-0.5.6.tar.gz) = 769ab3fbca5c69f2518f2067da57104246ecadb4
-RMD160 (libmp3splt-0.5.6.tar.gz) = 30a783f4c02cc7a6784e5b0afbeef4b9d4a785fe
-Size (libmp3splt-0.5.6.tar.gz) = 471564 bytes
+SHA1 (libmp3splt-0.6.tar.gz) = 5f2a441890be8c49cc6886dd891d78325fcba5fd
+RMD160 (libmp3splt-0.6.tar.gz) = d147ffbab57859621aaf6a11799be44764335b6b
+Size (libmp3splt-0.6.tar.gz) = 502239 bytes
+SHA1 (patch-aa) = bad2ab75055c3f2a49edbfbd6fb35c29b51bcbcd
diff --git a/audio/libmp3splt/patches/patch-aa b/audio/libmp3splt/patches/patch-aa
new file mode 100644
index 00000000000..d781eceaa82
--- /dev/null
+++ b/audio/libmp3splt/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2010/11/30 19:16:23 drochner Exp $
+
+--- src/oformat_parser.c.orig 2010-09-06 21:12:05.000000000 +0000
++++ src/oformat_parser.c
+@@ -760,7 +760,7 @@ static char splt_of_get_number_of_digits
+ if (total_time > 0)
+ {
+ long minutes = total_time / 100 / 60;
+- int i = (int) (log10l((long double) minutes));
++ int i = (int) (log10((double) minutes));
+ char number_of_digits = (char) (i + '1');
+ if (number_of_digits == '1')
+ {