From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 3 16:30:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D817F5A7 for ; Mon, 3 Dec 2012 16:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AD84D8FC14 for ; Mon, 3 Dec 2012 16:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3GU0g6045926 for ; Mon, 3 Dec 2012 16:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB3GU0a6045925; Mon, 3 Dec 2012 16:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 3 Dec 2012 16:30:00 GMT Resent-Message-Id: <201212031630.qB3GU0a6045925@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mickael Maillot Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40AD04C0 for ; Mon, 3 Dec 2012 16:20:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 0775C8FC15 for ; Mon, 3 Dec 2012 16:20:25 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3GKO1e067996 for ; Mon, 3 Dec 2012 16:20:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qB3GKOnc067995; Mon, 3 Dec 2012 16:20:24 GMT (envelope-from nobody) Message-Id: <201212031620.qB3GKOnc067995@red.freebsd.org> Date: Mon, 3 Dec 2012 16:20:24 GMT From: Mickael Maillot To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174090: multimedia/libcec update to 2.0.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 16:30:01 -0000 >Number: 174090 >Category: ports >Synopsis: multimedia/libcec update to 2.0.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Dec 03 16:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mickael Maillot >Release: >Organization: >Environment: FreeBSD htpc.freelooser.fr 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #14 r243573: Tue Nov 27 02:59:48 CET 2012 root@htpc.freelooser.fr:/usr/obj/usr/src/sys/GENERIC amd64 >Description: update libcec 2.0.4 use GITHUB macro add a patch to fix device detection with XBMC 12 (will be send in upstream soon) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -rudN libcec.orig/Makefile libcec/Makefile --- libcec.orig/Makefile 2012-12-03 17:14:34.000000000 +0100 +++ libcec/Makefile 2012-12-03 17:13:57.000000000 +0100 @@ -2,9 +2,8 @@ # $FreeBSD: ports/multimedia/libcec/Makefile,v 1.1 2012/11/29 18:48:11 svnexp Exp $ PORTNAME= libcec -PORTVERSION= 2.0.2 +PORTVERSION= 2.0.4 CATEGORIES= multimedia -MASTER_SITES= https://github.com/Pulse-Eight/libcec/zipball/libcec-2.0.2/ MAINTAINER= manuel.creach@icloud.com COMMENT= Library that allows you to use the Pulse-Eight's HDMI-CEC Adapter @@ -12,7 +11,10 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -FETCH_ARGS= -Fpr +USE_GITHUB= yes +GH_ACCOUNT= Pulse-Eight +GH_COMMIT= 178d498 +GH_TAGNAME= ${PORTNAME}-${PORTVERSION} USE_GMAKE= yes USE_AUTORECONF= yes @@ -25,8 +27,6 @@ CFLAGS+= -D_FILE_OFFSET_BITS=64 -WRKSRC= ${WRKDIR}/Pulse-Eight-libcec-a9ac151 - post-patch: ${REINPLACE_CMD} 's|-Werror||' \ ${WRKSRC}/configure.ac diff -rudN libcec.orig/distinfo libcec/distinfo --- libcec.orig/distinfo 2012-12-03 17:14:34.000000000 +0100 +++ libcec/distinfo 2012-11-19 10:54:24.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (libcec-2.0.2.tar.gz) = c816077055de5d897c7701794d572dc974392740f7ccb62396f018b1ec7309a3 -SIZE (libcec-2.0.2.tar.gz) = 1246833 +SHA256 (libcec-2.0.4.tar.gz) = 652f8bddf8629eb4d14c93bc97efbeb7406482f69626302c8489df8e1fd8431f +SIZE (libcec-2.0.4.tar.gz) = 1075334 diff -rudN libcec.orig/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp --- libcec.orig/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp 1970-01-01 01:00:00.000000000 +0100 +++ libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp 2012-12-03 17:18:08.000000000 +0100 @@ -0,0 +1,11 @@ +--- ./src/lib/adapter/Pulse-Eight/USBCECAdapterDetection.cpp.orig 2012-10-17 11:35:39.000000000 +0200 ++++ ./src/lib/adapter/Pulse-Eight/USBCECAdapterDetection.cpp 2012-10-17 11:35:52.000000000 +0200 +@@ -427,8 +427,6 @@ + for (i = 0; i < 8; ++i) + { + (void)snprintf(devicePath, sizeof(devicePath), "/dev/ttyU%d", i); +- if (strDevicePath && strcmp(devicePath, strDevicePath) != 0) +- continue; + if (!access(devicePath, 0)) + { + snprintf(deviceList[iFound].path, sizeof(deviceList[iFound].path), "%s", devicePath); >Release-Note: >Audit-Trail: >Unformatted: