From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 12 14:10:03 2007 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 52A8916A468 for ; Sun, 12 Aug 2007 14:10:03 +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 36D2813C457 for ; Sun, 12 Aug 2007 14:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7CEA3a0094770 for ; Sun, 12 Aug 2007 14:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7CEA3rI094769; Sun, 12 Aug 2007 14:10:03 GMT (envelope-from gnats) Resent-Date: Sun, 12 Aug 2007 14:10:03 GMT Resent-Message-Id: <200708121410.l7CEA3rI094769@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, Thierry Thomas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9223016A419; Sun, 12 Aug 2007 14:00:18 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9A413C458; Sun, 12 Aug 2007 14:00:18 +0000 (UTC) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 9026411438; Sun, 12 Aug 2007 16:00:14 +0200 (CEST) Message-Id: <20070812140014.9026411438@graf.pompo.net> Date: Sun, 12 Aug 2007 16:00:14 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: multimedia@FreeBSD.org Subject: ports/115446: multimedia/vlc: fix scrambled output with non-en locales. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2007 14:10:03 -0000 >Number: 115446 >Category: ports >Synopsis: multimedia/vlc: fix scrambled output with non-en locales. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Aug 12 14:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 6.2-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun May 20 15:59:36 CEST 2007 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF070519 i386 >Description: vlc-0.8.6c comes with pre-generated messages catalogs files which seem uncompatible with our gettext, and that produces scrambled outputs when LC_ALL is defined to a non-english locale. The following patch remove these pre-generated catalogs, and correct ones are re-generated during the build process. >How-To-Repeat: Set and export LC_ALL to fr_FR.ISO8859-15, or any locale supported by VLC, and launch the GUI, or run `vlc -h ', and examine the strings! >Fix: Please apply the following patch. Remark: this patch bumps PORTREVISION from 3 to 4, because I have applied it after the patch proposed in PR ports/115428 ; If it gets committed before, just re-order these numbers. --- vlc.diff begins here --- diff -urN multimedia/vlc.orig/Makefile multimedia/vlc/Makefile --- multimedia/vlc.orig/Makefile Sat Aug 11 19:57:07 2007 +++ multimedia/vlc/Makefile Sun Aug 12 14:06:56 2007 @@ -10,7 +10,7 @@ PORTNAME= vlc DISTVERSION= 0.8.6c -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \ diff -urN multimedia/vlc.orig/Makefile.inc multimedia/vlc/Makefile.inc --- multimedia/vlc.orig/Makefile.inc Sat Aug 11 19:57:10 2007 +++ multimedia/vlc/Makefile.inc Sun Aug 12 14:10:39 2007 @@ -269,6 +269,8 @@ ${WRKSRC}/loader/module.c .endif @${REINPLACE_CMD} -e 's|dts_free|dca_free|g' ${WRKSRC}/configure +# remove badly formatted pre-generated messages catalogs + ${FIND} ${WRKSRC} -name "*.gmo" -delete pre-build: @${REINPLACE_CMD} -e 's|/intl/libintl.a|${WRKSRC}/intl/libintl.a|' \ --- vlc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: