From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 30 11:50:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBEBF620 for ; Thu, 30 Jan 2014 11:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B755612F4 for ; Thu, 30 Jan 2014 11:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0UBo0cE002606 for ; Thu, 30 Jan 2014 11:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0UBo0hQ002605; Thu, 30 Jan 2014 11:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 30 Jan 2014 11:50:00 GMT Resent-Message-Id: <201401301150.s0UBo0hQ002605@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mickael Maillot Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4977591 for ; Thu, 30 Jan 2014 11:40:17 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 91693125C for ; Thu, 30 Jan 2014 11:40:17 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0UBeHNC015265 for ; Thu, 30 Jan 2014 11:40:17 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0UBeHhp015243; Thu, 30 Jan 2014 11:40:17 GMT (envelope-from nobody) Message-Id: <201401301140.s0UBeHhp015243@oldred.freebsd.org> Date: Thu, 30 Jan 2014 11:40:17 GMT From: Mickael Maillot To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/186271: multimedia/xbmc iconv and vdpau fix X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 11:50:01 -0000 >Number: 186271 >Category: misc >Synopsis: multimedia/xbmc iconv and vdpau fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 30 11:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mickael Maillot >Release: >Organization: >Environment: >Description: 2 problems: - vdpau is a lib depends and not a build depends - iconv is used with wchar_t so it failed on FreeBSD >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2014-01-30 10:18:33.000000000 +0100 +++ Makefile 2014-01-30 11:50:47.000000000 +0100 @@ -56,7 +56,7 @@ ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ xdpyinfo:${PORTSDIR}/x11/xdpyinfo -USES= gmake iconv pkgconfig +USES= gmake iconv:wchar_t pkgconfig USE_AUTOTOOLS= autoconf libtool automake libltdl GNU_CONFIGURE= yes USE_XORG= xt xmu xtst @@ -125,7 +125,7 @@ VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi -VDPAU_BUILD_DEPENDS= ${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau +VDPAU_LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VORBIS_LIB_DEPENDS= libvorbisenc.so:${PORTSDIR}/audio/libvorbis @@ -193,6 +193,7 @@ cd ${WRKSRC}/lib/cpluff && ${SH} ./autogen.sh ${REINPLACE_CMD} '/lib\/cpluff/d' ${WRKSRC}/bootstrap.mk cd ${WRKSRC} && ${SH} ./bootstrap + ${REINPLACE_CMD} "s;'' iconv;iconv;" ${WRKSRC}/configure post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/xbmc.bin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >Release-Note: >Audit-Trail: >Unformatted: