From owner-svn-ports-head@FreeBSD.ORG Wed Oct 22 16:25:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9A732AE; Wed, 22 Oct 2014 16:25:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96698FD5; Wed, 22 Oct 2014 16:25:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9MGPuUX040696; Wed, 22 Oct 2014 16:25:56 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9MGPubO040695; Wed, 22 Oct 2014 16:25:56 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201410221625.s9MGPubO040695@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Wed, 22 Oct 2014 16:25:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371361 - head/multimedia/plexhometheater X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 16:25:56 -0000 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