From owner-svn-ports-all@FreeBSD.ORG Sat Jul 6 20:08:46 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 73D39124; Sat, 6 Jul 2013 20:08:46 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 499D812D7; Sat, 6 Jul 2013 20:08:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r66K8kSB091253; Sat, 6 Jul 2013 20:08:46 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r66K8j26091250; Sat, 6 Jul 2013 20:08:45 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201307062008.r66K8j26091250@svn.freebsd.org> From: Guido Falsi Date: Sat, 6 Jul 2013 20:08:45 +0000 (UTC) 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 20:08:46 -0000 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 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;