MFH: r369769

- Update to 1.4.0
- Rename patch files
- Remove dirrm

Fixes fetch.

Approved by:	portmgr (bapt)
This commit is contained in:
Guido Falsi 2014-10-02 16:35:26 +00:00
parent 1b82b36e33
commit 3ae12c31c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2014Q4/; revision=369838
7 changed files with 20 additions and 41 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= libva
PORTVERSION= 1.3.1
PORTREVISION= 3
PORTVERSION= 1.4.0
CATEGORIES= multimedia
MASTER_SITES= http://cgit.freedesktop.org/${PORTNAME}/snapshot/

View File

@ -1,2 +1,2 @@
SHA256 (libva-1.3.1.tar.bz2) = c21dfe770b957769ce2a1bf833abb0727f2ad133e2609d8b5137f0fb0c5e216e
SIZE (libva-1.3.1.tar.bz2) = 585004
SHA256 (libva-1.4.0.tar.bz2) = bc061ab38acb89d80c1748e2cdf57bce95f05a287f7e94751fe82cf65bd824e8
SIZE (libva-1.4.0.tar.bz2) = 590900

View File

@ -1,30 +0,0 @@
--- ./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);
-#ifndef ANDROID
+#if !defined(ANDROID) && defined(RTLD_NODELETE)
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;
}

View File

@ -0,0 +1,11 @@
--- va/va.c.orig 2014-09-30 01:48:34 UTC
+++ va/va.c
@@ -227,7 +227,7 @@
strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) );
va_infoMessage("Trying to open %s\n", driver_path);
-#ifndef ANDROID
+#if !defined(ANDROID) && defined(RTLD_NODELETE)
handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE );
#else
handle = dlopen( driver_path, RTLD_NOW| RTLD_GLOBAL);

View File

@ -19,6 +19,7 @@ include/va/va_drm.h
include/va/va_drmcommon.h
include/va/va_enc_h264.h
include/va/va_enc_mpeg2.h
include/va/va_enc_vp8.h
include/va/va_glx.h
include/va/va_tpi.h
include/va/va_version.h
@ -26,24 +27,22 @@ include/va/va_vpp.h
include/va/va_x11.h
lib/libva-drm.so
lib/libva-drm.so.1
lib/libva-drm.so.1.3501.0
lib/libva-drm.so.1.3600.0
lib/libva-glx.so
lib/libva-glx.so.1
lib/libva-glx.so.1.3501.0
lib/libva-glx.so.1.3600.0
lib/libva-tpi.so
lib/libva-tpi.so.1
lib/libva-tpi.so.1.3501.0
lib/libva-tpi.so.1.3600.0
lib/libva-x11.so
lib/libva-x11.so.1
lib/libva-x11.so.1.3501.0
lib/libva-x11.so.1.3600.0
lib/libva.so
lib/libva.so.1
lib/libva.so.1.3501.0
lib/libva.so.1.3600.0
lib/va/dummy_drv_video.so
libdata/pkgconfig/libva-drm.pc
libdata/pkgconfig/libva-glx.pc
libdata/pkgconfig/libva-tpi.pc
libdata/pkgconfig/libva-x11.pc
libdata/pkgconfig/libva.pc
@dirrm include/va
@dirrmtry lib/va