Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 23:15:36 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305796 - in head/multimedia/libva: . files
Message-ID:  <201210122315.q9CNFaES093841@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210122315.q9CNFaES093841>