Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2014 16:25:56 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371361 - head/multimedia/plexhometheater
Message-ID:  <201410221625.s9MGPubO040695@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Wed Oct 22 16:25:55 2014
New Revision: 371361
URL: https://svnweb.freebsd.org/changeset/ports/371361
QAT: https://qat.redports.org/buildarchive/r371361/

Log:
  Use iconv port, for wchar_t.
  
  When running the plexhometheater player, the following line is repeatedly
  printed into the log output.
  
  ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument)
  
  This is because the plexhometheater port currently uses the iconv in base,
  which does not provide the wchar_t functionality.
  
  PR:		194533
  Submitted by:	Ben Woods (maintainer)

Modified:
  head/multimedia/plexhometheater/Makefile

Modified: head/multimedia/plexhometheater/Makefile
==============================================================================
--- head/multimedia/plexhometheater/Makefile	Wed Oct 22 15:08:58 2014	(r371360)
+++ head/multimedia/plexhometheater/Makefile	Wed Oct 22 16:25:55 2014	(r371361)
@@ -69,7 +69,7 @@ GH_PROJECT=	plex-home-theater-public
 GH_COMMIT=	2d6426d
 GH_TAGNAME=	pht-v1.2.2
 
-USES=		cmake:outsource iconv pkgconfig python:2
+USES=		cmake:outsource iconv:wchar_t pkgconfig python:2
 CMAKE_ARGS+=	-DENABLE_AUTOUPDATE:BOOL=false
 CMAKE_ARGS+=	-DENABLE_DUMP_SYMBOLS:BOOL=false
 CMAKE_ARGS+=	-DENABLE_PYTHON:BOOL=false
@@ -126,6 +126,8 @@ post-patch:
 		${WRKSRC}/lib/ffmpeg/common.mak \
 		${WRKSRC}/lib/ffmpeg/configure \
 		${WRKSRC}/lib/ffmpeg/libavcodec/Makefile
+	@${REINPLACE_CMD} 's/iconv_open/libiconv_open/' \
+		${WRKSRC}/plex/CMakeModules/FindIconv.cmake
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410221625.s9MGPubO040695>