From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 16 16:50:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5E54969 for ; Wed, 16 Apr 2014 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68C2015B1 for ; Wed, 16 Apr 2014 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3GGo0Bn028889 for ; Wed, 16 Apr 2014 16:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3GGo0sC028887; Wed, 16 Apr 2014 16:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 16 Apr 2014 16:50:00 GMT Resent-Message-Id: <201404161650.s3GGo0sC028887@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, anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B032075A for ; Wed, 16 Apr 2014 16:40:55 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DE5B14AA for ; Wed, 16 Apr 2014 16:40:55 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3GGethD028203 for ; Wed, 16 Apr 2014 16:40:55 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3GGetb9028185; Wed, 16 Apr 2014 16:40:55 GMT (envelope-from nobody) Message-Id: <201404161640.s3GGetb9028185@cgiserv.freebsd.org> Date: Wed, 16 Apr 2014 16:40:55 GMT From: anonymous To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188697: [patch] multimedia/mplayer fix UTF-8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2014 16:50:00 -0000 >Number: 188697 >Category: ports >Synopsis: [patch] multimedia/mplayer fix UTF-8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 16 16:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: anonymous >Release: >Organization: >Environment: >Description: Nether "C.UTF-8" or "en_US.utf8" locale exists on FreeBSD. >How-To-Repeat: >Fix: Patch attached with submission follows: --- libvo/x11_common.c 2013-10-16 17:07:12.000000000 -0700 +++ libvo/x11_common.c 2014-04-16 09:15:27.888658589 -0700 @@ -430,7 +430,7 @@ } // Required so that XLookupString returns UTF-8 - if (!setlocale(LC_CTYPE, "C.UTF-8") && !setlocale(LC_CTYPE, "en_US.utf8")) + if (!setlocale(LC_CTYPE, "en_US.UTF-8")) mp_msg(MSGT_VO, MSGL_WARN, "Could not find a UTF-8 locale, some keys will not be handled.\n"); XSetErrorHandler(x11_errorhandler); >Release-Note: >Audit-Trail: >Unformatted: