diff options
author | feld <feld@FreeBSD.org> | 2015-12-31 23:19:38 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-12-31 23:19:38 +0800 |
commit | 73e34515a410c704e104443fe51ac1231bfb490b (patch) | |
tree | 257ee441803df1cdb139f91601609566ad718ca7 /multimedia | |
parent | 81e8b22bbc88730f854622dae00ab9625bff1997 (diff) | |
download | freebsd-ports-gnome-73e34515a410c704e104443fe51ac1231bfb490b.tar.gz freebsd-ports-gnome-73e34515a410c704e104443fe51ac1231bfb490b.tar.zst freebsd-ports-gnome-73e34515a410c704e104443fe51ac1231bfb490b.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
Diffstat (limited to 'multimedia')
4 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/plexmediaserver-plexpass/Makefile b/multimedia/plexmediaserver-plexpass/Makefile index 6fd9fd7b7413..fe5166a61dbc 100644 --- a/multimedia/plexmediaserver-plexpass/Makefile +++ b/multimedia/plexmediaserver-plexpass/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTVERSION= 0.9.15.0.1621 -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -plexpass MAINTAINER= feld@FreeBSD.org 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 diff --git a/multimedia/plexmediaserver/Makefile b/multimedia/plexmediaserver/Makefile index e52585350f6e..12f0d35ac63b 100644 --- a/multimedia/plexmediaserver/Makefile +++ b/multimedia/plexmediaserver/Makefile @@ -3,7 +3,7 @@ PORTNAME= plexmediaserver PORTVERSION?= 0.9.14.6.1620 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= multimedia MASTER_SITES= https://downloads.plexapp.com/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/ \ https://nightlies.plexapp.com/directdl/plex-media-server/dist-ninja/${PORTVERSION}-${PLEX_BUILD}/ diff --git a/multimedia/plexmediaserver/files/plexmediaserver.in b/multimedia/plexmediaserver/files/plexmediaserver.in index f6c51c6c4d68..5b58c9119a35 100644 --- a/multimedia/plexmediaserver/files/plexmediaserver.in +++ b/multimedia/plexmediaserver/files/plexmediaserver.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 |