From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 30 15:10:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3FE21065670 for ; Thu, 30 Sep 2010 15:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B26598FC08 for ; Thu, 30 Sep 2010 15:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8UFA1DU092429 for ; Thu, 30 Sep 2010 15:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8UFA1eN092428; Thu, 30 Sep 2010 15:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 30 Sep 2010 15:10:01 GMT Resent-Message-Id: <201009301510.o8UFA1eN092428@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3CB8106564A for ; Thu, 30 Sep 2010 15:07:33 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 696068FC18 for ; Thu, 30 Sep 2010 15:07:33 +0000 (UTC) Received: by yxn35 with SMTP id 35so1020220yxn.13 for ; Thu, 30 Sep 2010 08:07:32 -0700 (PDT) Received: by 10.229.83.145 with SMTP id f17mr2749788qcl.165.1285859251969; Thu, 30 Sep 2010 08:07:31 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id r38sm11013018qcs.26.2010.09.30.08.07.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 30 Sep 2010 08:07:29 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id CCC9D2AEC4FA; Thu, 30 Sep 2010 23:06:20 +0800 (CST) Message-Id: <20100930150620.CCC9D2AEC4FA@sunpoet.net> Date: Thu, 30 Sep 2010 23:06:20 +0800 (CST) From: Sunpoet Po-Chuan Hsieh Sender: Sunpoet Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: citrin@citrin.ru Subject: ports/151114: [PATCH] audio/libmp3splt: update to 0.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 15:10:03 -0000 >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 -+#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); - } 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: