ports/188697: [patch] multimedia/mplayer fix UTF-8

anonymous anonymous at gmail.com
Wed Apr 16 16:50:00 UTC 2014


>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:


More information about the freebsd-ports-bugs mailing list