From owner-svn-ports-all@FreeBSD.ORG  Fri Oct 12 23:15:36 2012
Return-Path: <owner-svn-ports-all@FreeBSD.ORG>
Delivered-To: svn-ports-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 7921E20B;
 Fri, 12 Oct 2012 23:15:36 +0000 (UTC)
 (envelope-from madpilot@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c])
 by mx1.freebsd.org (Postfix) with ESMTP id 6230D8FC16;
 Fri, 12 Oct 2012 23:15:36 +0000 (UTC)
Received: from svn.freebsd.org (localhost [127.0.0.1])
 by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9CNFatO093846;
 Fri, 12 Oct 2012 23:15:36 GMT
 (envelope-from madpilot@svn.freebsd.org)
Received: (from madpilot@localhost)
 by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9CNFaES093841;
 Fri, 12 Oct 2012 23:15:36 GMT
 (envelope-from madpilot@svn.freebsd.org)
Message-Id: <201210122315.q9CNFaES093841@svn.freebsd.org>
From: Guido Falsi <madpilot@FreeBSD.org>
Date: Fri, 12 Oct 2012 23:15:36 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r305796 - in head/multimedia/libva: . files
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Oct 2012 23:15:36 -0000

Author: madpilot
Date: Fri Oct 12 23:15:35 2012
New Revision: 305796
URL: http://svn.freebsd.org/changeset/ports/305796

Log:
  - Add patch to fix compilation with gcc46.
  
  Submitted by:	Andriy Gapon <avg@FreeBSD.org>
  Feature safe:	yes

Modified:
  head/multimedia/libva/Makefile
  head/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp

Modified: head/multimedia/libva/Makefile
==============================================================================
--- head/multimedia/libva/Makefile	Fri Oct 12 22:44:11 2012	(r305795)
+++ head/multimedia/libva/Makefile	Fri Oct 12 23:15:35 2012	(r305796)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libva
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://cgit.freedesktop.org/${PORTNAME}/snapshot/
 

Modified: head/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp
==============================================================================
--- head/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp	Fri Oct 12 22:44:11 2012	(r305795)
+++ head/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp	Fri Oct 12 23:15:35 2012	(r305796)
@@ -1,6 +1,14 @@
 --- test/v4l_h264/encode/capture.cpp.orig	2012-10-04 15:30:51.000000000 +0200
-+++ test/v4l_h264/encode/capture.cpp	2012-10-08 22:31:01.067189237 +0200
-@@ -37,7 +37,11 @@
++++ test/v4l_h264/encode/capture.cpp	2012-10-11 17:57:55.361081933 +0200
+@@ -30,6 +30,7 @@
+ */
+ 
+ #include <cstdlib> /* EXIT_FAILURE, EXIT_SUCCESS */
++#include <cstdio> /* printf */
+ #include <string>
+ #include <cstring> /* strerror() */
+ #include <cassert>
+@@ -37,7 +38,11 @@
  #include <fcntl.h> /* low-level i/o */
  #include <errno.h>
  #include <unistd.h>
@@ -12,7 +20,7 @@
  #include <sys/stat.h>
  #include <sys/mman.h>
  #include <sys/ioctl.h>
-@@ -451,10 +455,15 @@
+@@ -451,10 +456,15 @@
      }
      for (n_buffers = 0; n_buffers < 4; ++n_buffers) {
          buffers[n_buffers].length = buffer_size;