Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2013 20:08:45 +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: r322412 - in head: graphics/gnash graphics/gnash/files multimedia/vlc/files
Message-ID:  <201307062008.r66K8j26091250@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sat Jul  6 20:08:45 2013
New Revision: 322412
URL: http://svnweb.freebsd.org/changeset/ports/322412

Log:
  Fix build of gnash [1] and vlc [2] after libva update.
  
  PR:		ports/180118 [2]
  Submitted by:	Geraud CONTINSOUZAS <geraud@gcu.info>
  Approved by:	dinoex [1], nox [2]

Added:
  head/graphics/gnash/files/patch-libdevice-caapi-VaapiSurface.cpp   (contents, props changed)
  head/multimedia/vlc/files/patch-modules-codec-avcodec-vaapi.c   (contents, props changed)
Modified:
  head/graphics/gnash/Makefile

Modified: head/graphics/gnash/Makefile
==============================================================================
--- head/graphics/gnash/Makefile	Sat Jul  6 19:59:15 2013	(r322411)
+++ head/graphics/gnash/Makefile	Sat Jul  6 20:08:45 2013	(r322412)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gnash
 PORTVERSION=	0.8.10
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 MASTER_SITES=	GNU/${PORTNAME}/${PORTVERSION}/
 

Added: head/graphics/gnash/files/patch-libdevice-caapi-VaapiSurface.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gnash/files/patch-libdevice-caapi-VaapiSurface.cpp	Sat Jul  6 20:08:45 2013	(r322412)
@@ -0,0 +1,13 @@
+--- libdevice/vaapi/VaapiSurface.cpp.orig	2012-01-19 20:17:48.000000000 +0100
++++ libdevice/vaapi/VaapiSurface.cpp	2013-07-05 01:44:21.927681308 +0200
+@@ -62,8 +62,8 @@
+     VAStatus status;
+     VASurfaceID surface_id;
+     status = vaCreateSurfaces(gvactx->display(),
+-                              width, height, VA_RT_FORMAT_YUV420,
+-                              1, &surface_id);
++                              VA_RT_FORMAT_YUV420, width, height,
++                              &surface_id, 1, NULL, 0);
+     if (!vaapi_check_status(status, "vaCreateSurfaces()")) {
+         return;
+     }

Added: head/multimedia/vlc/files/patch-modules-codec-avcodec-vaapi.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/vlc/files/patch-modules-codec-avcodec-vaapi.c	Sat Jul  6 20:08:45 2013	(r322412)
@@ -0,0 +1,13 @@
+--- modules/codec/avcodec/vaapi.c.orig	2013-01-22 10:51:40.000000000 +0100
++++ modules/codec/avcodec/vaapi.c	2013-07-05 01:43:15.340713238 +0200
+@@ -246,8 +246,8 @@
+ 
+     /* Create surfaces */
+     VASurfaceID pi_surface_id[p_va->i_surface_count];
+-    if( vaCreateSurfaces( p_va->p_display, i_width, i_height, VA_RT_FORMAT_YUV420,
+-                          p_va->i_surface_count, pi_surface_id ) )
++    if( vaCreateSurfaces( p_va->p_display, VA_RT_FORMAT_YUV420, i_width, i_height,
++                          pi_surface_id, p_va->i_surface_count, NULL, 0 ) )
+     {
+         for( int i = 0; i < p_va->i_surface_count; i++ )
+             p_va->p_surface[i].i_id = VA_INVALID_SURFACE;



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