Index: head/audio/libmp3splt/Makefile =================================================================== --- head/audio/libmp3splt/Makefile (revision 262512) +++ head/audio/libmp3splt/Makefile (revision 262513) @@ -1,78 +1,77 @@ # New ports collection makefile for: libmp3splt # Date created: 2009-03-26 # Whom: Anton Yuzhaninov # # $FreeBSD$ # PORTNAME= libmp3splt -PORTVERSION= 0.5.9 -PORTREVISION= 2 +PORTVERSION= 0.6 CATEGORIES= audio MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION} MAINTAINER= citrin@citrin.ru COMMENT= Library for mp3splt and mp3splt-gtk GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libltdl MAKE_JOBS_SAFE= yes OPTIONS= MP3 "mp3 support" on \ ID3 "id3tag support for the mp3" on \ VORBIS "ogg vorbis support" on \ NLS "native language support" on PLIST_DIRS= include/libmp3splt lib/libmp3splt PLIST_FILES= include/libmp3splt/mp3splt.h lib/libmp3splt.so.0 \ lib/libmp3splt.so lib/libmp3splt.la lib/libmp3splt.a \ share/aclocal/mp3splt.m4 .include .if defined(WITHOUT_MP3) && defined(WITHOUT_VORBIS) IGNORE= select at least one plugin: mp3 or vorbis .endif .if defined(WITHOUT_MP3) CONFIGURE_ARGS+= --disable-mp3 .else LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad PLIST_FILES+= lib/libmp3splt/libsplt_mp3.a \ lib/libmp3splt/libsplt_mp3.la \ lib/libmp3splt/libsplt_mp3.so \ lib/libmp3splt/libsplt_mp3.so.0 .endif .if defined(WITHOUT_ID3) CONFIGURE_ARGS+= --disable-id3tag .else LIB_DEPENDS+= id3tag:${PORTSDIR}/audio/libid3tag .endif .if defined(WITHOUT_VORBIS) CONFIGURE_ARGS+= --disable-ogg .else LIB_DEPENDS+= ogg.7:${PORTSDIR}/audio/libogg \ vorbis.4:${PORTSDIR}/audio/libvorbis PLIST_FILES+= lib/libmp3splt/libsplt_ogg.a \ lib/libmp3splt/libsplt_ogg.la \ lib/libmp3splt/libsplt_ogg.so \ lib/libmp3splt/libsplt_ogg.so.0 .endif .if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-nls .else USE_GETTEXT= yes LANGUAGES= de fr .for language in ${LANGUAGES} PLIST_FILES+= share/locale/${language}/LC_MESSAGES/libmp3splt.mo .endfor .endif CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" .include Property changes on: head/audio/libmp3splt/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/audio/libmp3splt/distinfo =================================================================== --- head/audio/libmp3splt/distinfo (revision 262512) +++ head/audio/libmp3splt/distinfo (revision 262513) @@ -1,3 +1,3 @@ -MD5 (libmp3splt-0.5.9.tar.gz) = 2a29c8a8965d45ae89582a3f112f48e3 -SHA256 (libmp3splt-0.5.9.tar.gz) = ea25c307ff5ceab720eb1ce03d14f7ade43dda6f0f1f08dfcbba5a05e25a248a -SIZE (libmp3splt-0.5.9.tar.gz) = 506810 +MD5 (libmp3splt-0.6.tar.gz) = 92e2e51857588a1d5f967ffd9bf90c28 +SHA256 (libmp3splt-0.6.tar.gz) = 2c23ba80b1334f30484f2e031224997f2b031193904ad49ddfdbe15203bba9f9 +SIZE (libmp3splt-0.6.tar.gz) = 502239 Property changes on: head/audio/libmp3splt/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/audio/libmp3splt/files/patch-disable-nls =================================================================== --- head/audio/libmp3splt/files/patch-disable-nls (revision 262512) +++ head/audio/libmp3splt/files/patch-disable-nls (nonexistent) @@ -1,40 +0,0 @@ ---- include/libmp3splt/splt.h.orig 2010-04-22 12:28:38.000000000 +0400 -+++ include/libmp3splt/splt.h 2010-04-22 12:31:02.000000000 +0400 -@@ -52,7 +52,9 @@ - #endif - - #include -+#ifdef ENABLE_NLS - #include -+#endif - #include - - #if !HAVE_FSEEKO -@@ -60,7 +62,11 @@ - #define ftello ftell - #endif - -+#ifdef ENABLE_NLS - #define _(STR) dgettext(MP3SPLT_LIB_GETTEXT_DOMAIN, STR) -+#else -+#define _(STR) STR -+#endif - - /**********************************/ - /* splt normal or syncerror split */ ---- src/mp3splt.c.orig 2010-04-22 12:48:29.000000000 +0400 -+++ src/mp3splt.c 2010-04-22 12:49:02.000000000 +0400 -@@ -58,11 +58,13 @@ splt_state *mp3splt_new_state(int *error - } - else - { -+#ifdef ENABLE_NLS - #ifndef __WIN32__ - bindtextdomain(MP3SPLT_LIB_GETTEXT_DOMAIN, LOCALEDIR); - #endif - - bind_textdomain_codeset(MP3SPLT_LIB_GETTEXT_DOMAIN, "UTF-8"); -+#endif - - state = splt_t_new_state(state, err); - } Property changes on: head/audio/libmp3splt/files/patch-disable-nls ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/audio/libmp3splt/files/patch-src-oformat_parser.c =================================================================== --- head/audio/libmp3splt/files/patch-src-oformat_parser.c (nonexistent) +++ head/audio/libmp3splt/files/patch-src-oformat_parser.c (revision 262513) @@ -0,0 +1,11 @@ +--- src/oformat_parser.c.orig 2010-09-07 05:12:05.000000000 +0800 ++++ src/oformat_parser.c 2010-09-29 16:12:11.000000000 +0800 +@@ -760,7 +760,7 @@ + if (total_time > 0) + { + long minutes = total_time / 100 / 60; +- int i = (int) (log10l((long double) minutes)); ++ int i = (int) (log10(minutes)); + char number_of_digits = (char) (i + '1'); + if (number_of_digits == '1') + { Property changes on: head/audio/libmp3splt/files/patch-src-oformat_parser.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property