Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2009 21:43:43 +0100 (CET)
From:      Tobias Rehbein <tobias.rehbein@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/131307: [PATCH] audio/ogg2mp3 fails as recent versions of audio/lame report genre lists via stderr
Message-ID:  <200902022043.n12Khhig080312@sushi.pseudo.local>
Resent-Message-ID: <200902022050.n12Ko18I038143@freefall.freebsd.org>

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

>Number:         131307
>Category:       ports
>Synopsis:       [PATCH] audio/ogg2mp3 fails as recent versions of audio/lame report genre lists via stderr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 02 20:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Rehbein
>Release:        FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD sushi.pseudo.local 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #33: Tue Jan 13 21:39:05 CET 2009 tobi@sushi.pseudo.local:/usr/obj/usr/src/sys/SUSHI i386


	
>Description:
	"lame --genre-list" used to emit the genre list on stdout. This has changed recently. The list is now emitted on stderr. The ogg2mp3 script has to be changed accordingly. The script is no longer supported upstream so we have to fix this locally.
	
>How-To-Repeat:
	
>Fix:

	

--- ogg2mp3-0.5_2.diff begins here ---
diff -ruN audio/ogg2mp3.orig/Makefile audio/ogg2mp3/Makefile
--- audio/ogg2mp3.orig/Makefile	2008-09-07 15:15:59.000000000 +0200
+++ audio/ogg2mp3/Makefile	2009-02-02 21:36:30.000000000 +0100
@@ -6,7 +6,7 @@
 
 PORTNAME=	ogg2mp3
 PORTVERSION=	0.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://amor.cms.hu-berlin.de/~h0444y2j/pub/
 
diff -ruN audio/ogg2mp3.orig/files/patch-ogg2mp3 audio/ogg2mp3/files/patch-ogg2mp3
--- audio/ogg2mp3.orig/files/patch-ogg2mp3	1970-01-01 01:00:00.000000000 +0100
+++ audio/ogg2mp3/files/patch-ogg2mp3	2009-02-02 21:14:10.000000000 +0100
@@ -0,0 +1,11 @@
+--- ./ogg2mp3.orig	2009-02-02 20:13:18.000000000 +0000
++++ ./ogg2mp3	2009-02-02 20:13:44.000000000 +0000
+@@ -68,7 +68,7 @@
+ 
+ # build genre hash
+ my %genres;
+-open(GENRES, "$MP3ENC --genre-list|") or die "Couldn't get genre list with $MP3ENC --genre-list\n";
++open(GENRES, "$MP3ENC --genre-list 2>&1 |") or die "Couldn't get genre list with $MP3ENC --genre-list\n";
+ while(<GENRES>) {
+     chomp;
+     next if /^\s*$/;
--- ogg2mp3-0.5_2.diff ends here ---


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



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