FreeBSD Bugzilla – Attachment 110019 Details for
Bug 151114
[PATCH] audio/libmp3splt: update to 0.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libmp3splt-0.6.patch
libmp3splt-0.6.patch (text/plain), 3.05 KB, created by
Po-Chuan Hsieh
on 2010-09-30 16:10:01 UTC
(
hide
)
Description:
libmp3splt-0.6.patch
Filename:
MIME Type:
Creator:
Po-Chuan Hsieh
Created:
2010-09-30 16:10:01 UTC
Size:
3.05 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/audio/libmp3splt/Makefile,v >retrieving revision 1.10 >diff -u -u -r1.10 Makefile >--- Makefile 6 Jun 2010 20:43:34 -0000 1.10 >+++ Makefile 30 Sep 2010 15:00:45 -0000 >@@ -6,8 +6,7 @@ > # > > PORTNAME= libmp3splt >-PORTVERSION= 0.5.9 >-PORTREVISION= 2 >+PORTVERSION= 0.6 > CATEGORIES= audio > MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION} > >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/audio/libmp3splt/distinfo,v >retrieving revision 1.4 >diff -u -u -r1.4 distinfo >--- distinfo 22 Apr 2010 15:09:13 -0000 1.4 >+++ distinfo 30 Sep 2010 15:00:45 -0000 >@@ -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 >Index: files/patch-disable-nls >=================================================================== >RCS file: files/patch-disable-nls >diff -N files/patch-disable-nls >--- files/patch-disable-nls 22 Apr 2010 15:09:13 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -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 <limits.h> >-+#ifdef ENABLE_NLS >- #include <libintl.h> >-+#endif >- #include <locale.h> >- >- #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); >- } >Index: files/patch-src-oformat_parser.c >=================================================================== >RCS file: files/patch-src-oformat_parser.c >diff -N files/patch-src-oformat_parser.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-src-oformat_parser.c 30 Sep 2010 15:00:45 -0000 >@@ -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') >+ {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 151114
: 110019