freebsd-ports/multimedia/mplayer/files/patch-libvo_x11__common.c
Thomas Zander 6ea8dbba59 - Update to recent mplayer snapshot (2015-08-22)
- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg
  (currently on version 2.7.2)
- Fix edge case assertion in av_free on 9.x/i386 upon stream close
  with mencoder (no change in behaviour)
- Include LICENSE_FILE
- Pet portlint
2015-08-23 16:41:23 +00:00

11 lines
410 B
C

--- libvo/x11_common.c.orig 2015-05-11 20:10:01 UTC
+++ libvo/x11_common.c
@@ -430,7 +430,7 @@ int vo_init(void)
}
// 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, MSGTR_CouldntFindUTF8Locale);
XSetErrorHandler(x11_errorhandler);