aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexmediaserver-plexpass/files
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-12-31 15:19:38 +0000
committerMark Felder <feld@FreeBSD.org>2015-12-31 15:19:38 +0000
commit69333876ca0603e01f5af2da50ceef0df1544ca5 (patch)
tree257ee441803df1cdb139f91601609566ad718ca7 /multimedia/plexmediaserver-plexpass/files
parentde8b83673190e0ee6a2a2edbd66bd80027f693c8 (diff)
downloadports-69333876ca0603e01f5af2da50ceef0df1544ca5.tar.gz
ports-69333876ca0603e01f5af2da50ceef0df1544ca5.zip
multimedia/plexmediaserver(-plexpass): Fix scanner crash
The Plex processes were running under the C locale. This was to replicate the behavior of the start.sh shell script shipped with Plex and used by Linux distributions. The scanner process was crashing when it encountered unicode filenames due to this locale. Upstream Plex fixed this, but we were left affected. This resolves the scanner process crash on FreeBSD. PR: 205696
Notes
Notes: svn path=/head/; revision=404948
Diffstat (limited to 'multimedia/plexmediaserver-plexpass/files')
-rw-r--r--multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in b/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
index a04e3ea65987..ab9e0328e8ae 100644
--- a/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
+++ b/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
@@ -50,8 +50,8 @@ plex_precmd()
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=${%%PORTNAME%%_support_path}
export PLEX_MEDIA_SERVER_PIDFILE=${pidfile}
export PATH="${SCRIPTPATH}/Resources/Python/bin:${PATH}"
- export LC_ALL="C"
- export LANG="C"
+ export LC_ALL="en_US.UTF-8"
+ export LANG="en_US.UTF-8"
ulimit -s 3000
if [ ! -d ${pidfile%/*} ]; then