From nobody@FreeBSD.org  Mon Dec  3 16:20:25 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 40AD04C0
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <mickael.maillot@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: multimedia/libcec update to 2.0.4
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: manuel.creach@icloud.com

>Number:         174090
>Category:       ports
>Synopsis:       multimedia/libcec update to 2.0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 16:30:00 UTC 2012
>Closed-Date:    Tue Dec 04 17:15:04 UTC 2012
>Last-Modified:  Tue Dec 04 17:15:04 UTC 2012
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Dec 3 16:30:08 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174090 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: manuel.creach@icloud.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/174090: multimedia/libcec update to 2.0.4
Date: Mon, 3 Dec 2012 16:30:07 UT

 Maintainer of multimedia/libcec,
 
 Please note that PR ports/174090 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174090
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: MANUEL CREACH <manuel.creach@icloud.com>
To: bug-followup@FreeBSD.org
Cc: mickael.maillot@gmail.com
Subject: Re: ports/174090: multimedia/libcec update to 2.0.4
Date: Mon, 03 Dec 2012 17:41:19 +0000 (GMT)

 --Boundary_(ID_DjQX7GWlH7nuNZgoNGvsUQ)
 Content-type: text/plain; charset=utf-8; format=flowed
 Content-transfer-encoding: quoted-printable
 
 Hi,=0A=0AI Approve the patch.=0A=0AManuel=EF=BB=BF=0A=0AOn 03 Dec, 2012,at=
  05:30 PM, Edwin Groothuis <edwin@FreeBSD.org> wrote:=0A=0A> Maintainer of=
  multimedia/libcec,=0A>=0A> Please note that PR ports/174090 has just been=
  submitted.=0A>=0A> If it contains a patch for an upgrade, an enhancement =
 or a bug fix=0A> you agree on, reply to this email stating that you approv=
 e the patch=0A> and a committer will take care of it.=0A>=0A> The full tex=
 t of the PR can be found at:=0A> http://www.freebsd.org/cgi/query-pr.cgi?p=
 r=3Dports/174090=0A>=0A> -- =0A> Edwin Groothuis via the GNATS Auto Assign=
  Tool=0A> edwin@FreeBSD.org=0A=
 
 --Boundary_(ID_DjQX7GWlH7nuNZgoNGvsUQ)
 Content-type: multipart/related;
  boundary="Boundary_(ID_duNYtMdQBZDr9QaT4Yp44A)"; type="text/html"
 
 
 --Boundary_(ID_duNYtMdQBZDr9QaT4Yp44A)
 Content-type: text/html; CHARSET=US-ASCII
 Content-transfer-encoding: quoted-printable
 
 <html><body><div>Hi,<br><br>I Approve the patch.<br><br>Manuel<br></div><div><br>On 03=
  Dec, 2012,at 05:30 PM, Edwin Groothuis &lt;edwin@FreeBSD.org&gt; wrote:<b=
 r><br><div><blockquote type=3D"cite"><div class=3D"msg-quote"><div class=3D=
 "_stretch">Maintainer of multimedia/libcec,<br> <br> Please note that PR p=
 orts/174090 has just been submitted.<br> <br> If it contains a patch for a=
 n upgrade, an enhancement or a bug fix<br> you agree on, reply to this ema=
 il stating that you approve the patch<br> and a committer will take care o=
 f it.<br> <br> The full text of the PR can be found at:<br> <a href=3D"htt=
 p://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/174090" data-mce-href=3D"h=
 ttp://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/174090">http://www.freeb=
 sd.org/cgi/query-pr.cgi?pr=3Dports/174090</a><br> <br> -- <br> Edwin Groot=
 huis via the GNATS Auto Assign Tool<br> <a href=3D"mailto:edwin@FreeBSD.or=
 g" data-mce-href=3D"mailto:edwin@FreeBSD.org">edwin@FreeBSD.org</a><br></d=
 iv></div></blockquote></div></div></body></html>=
 
 --Boundary_(ID_duNYtMdQBZDr9QaT4Yp44A)--
 
 --Boundary_(ID_DjQX7GWlH7nuNZgoNGvsUQ)--
State-Changed-From-To: feedback->closed 
State-Changed-By: pawel 
State-Changed-When: Tue Dec 4 17:15:03 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174090 
>Unformatted:
