Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 09:01:37 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r362195 - in branches/2014Q3/multimedia/libva: . files
Message-ID:  <201407180901.s6I91b5W042242@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Fri Jul 18 09:01:37 2014
New Revision: 362195
URL: http://svnweb.freebsd.org/changeset/ports/362195
QAT: https://qat.redports.org/buildarchive/r362195/

Log:
  MFH: r362158
  
  - Import bugfix from upstream [1]
  - While here, remove check for unsupported release
  
  PR:		191921 [1]
  Submitted by:	jiashiun@gmail.com
  
  Approved by:	portmgr (miwi)

Deleted:
  branches/2014Q3/multimedia/libva/files/extra-patch-va-va_trace.c
Modified:
  branches/2014Q3/multimedia/libva/Makefile
  branches/2014Q3/multimedia/libva/files/patch-va-va.c
Directory Properties:
  branches/2014Q3/   (props changed)

Modified: branches/2014Q3/multimedia/libva/Makefile
==============================================================================
--- branches/2014Q3/multimedia/libva/Makefile	Fri Jul 18 08:45:37 2014	(r362194)
+++ branches/2014Q3/multimedia/libva/Makefile	Fri Jul 18 09:01:37 2014	(r362195)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libva
 PORTVERSION=	1.3.1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://cgit.freedesktop.org/${PORTNAME}/snapshot/
 
@@ -40,11 +41,6 @@ CFLAGS+=	-DNDEBUG
 
 .include <bsd.port.pre.mk>
 
-# add strnlen(3) from head/lib/libc/string/strnlen.c
-.if ${OSVERSION} < 800067
-EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-va-va_trace.c
-.endif
-
 .if ${ARCH} == "sparc64"
 BROKEN=		glXCreateContext fails during configure
 .endif

Modified: branches/2014Q3/multimedia/libva/files/patch-va-va.c
==============================================================================
--- branches/2014Q3/multimedia/libva/files/patch-va-va.c	Fri Jul 18 08:45:37 2014	(r362194)
+++ branches/2014Q3/multimedia/libva/files/patch-va-va.c	Fri Jul 18 09:01:37 2014	(r362195)
@@ -1,6 +1,6 @@
---- va/va.c~
-+++ va/va.c
-@@ -199,7 +199,7 @@ static VAStatus va_openDriver(VADisplay 
+--- ./va/va.c.orig	2014-05-09 12:38:02.000000000 +0800
++++ ./va/va.c	2014-07-17 19:11:43.977174636 +0800
+@@ -227,7 +227,7 @@
          strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) );
          
          va_infoMessage("Trying to open %s\n", driver_path);
@@ -9,3 +9,22 @@
          handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE );
  #else
          handle = dlopen( driver_path, RTLD_NOW| RTLD_GLOBAL);
+@@ -515,15 +515,15 @@
+   free(old_ctx->vtable_vpp);
+   old_ctx->vtable_vpp = NULL;
+ 
+-  if (VA_STATUS_SUCCESS == vaStatus)
+-      pDisplayContext->vaDestroy(pDisplayContext);
+-
+   VA_TRACE_LOG(va_TraceTerminate, dpy);
+ 
+   va_TraceEnd(dpy);
+ 
+   va_FoolEnd(dpy);
+ 
++  if (VA_STATUS_SUCCESS == vaStatus)
++      pDisplayContext->vaDestroy(pDisplayContext);
++
+   return vaStatus;
+ }
+ 



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