Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2010 23:06:20 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        citrin@citrin.ru
Subject:   ports/151114: [PATCH] audio/libmp3splt: update to 0.6
Message-ID:  <20100930150620.CCC9D2AEC4FA@sunpoet.net>
Resent-Message-ID: <201009301510.o8UFA1eN092428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151114
>Category:       ports
>Synopsis:       [PATCH] audio/libmp3splt: update to 0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 15:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Jul 25 00:09:24 CST 2010
>Description:
- Update to 0.6

The patch-disable-nls was applied upstream.

Tinderbox logs:
- http://sunpoet.net/tinderbox/logs/7-FreeBSD/libmp3splt-0.6.log
- http://sunpoet.net/tinderbox/logs/8-FreeBSD/libmp3splt-0.6.log

Added file(s):
- files/patch-src-oformat_parser.c

Removed file(s):
- files/patch-disable-nls

Port maintainer (citrin@citrin.ru) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- libmp3splt-0.6.patch begins here ---
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')
+     {
--- libmp3splt-0.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100930150620.CCC9D2AEC4FA>