Date: Mon, 3 Dec 2012 16:20:24 GMT From: Mickael Maillot <mickael.maillot@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174090: multimedia/libcec update to 2.0.4 Message-ID: <201212031620.qB3GKOnc067995@red.freebsd.org> Resent-Message-ID: <201212031630.qB3GU0a6045925@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212031620.qB3GKOnc067995>