pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libva libva: drop local patch to workaround...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57afa006eafd
branches:  trunk
changeset: 359311:57afa006eafd
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Mar 06 10:19:57 2017 +0000

description:
libva: drop local patch to workaround the need to specify LIBVA_DRIVER_NAME
intel shouldn't use gallium, there's a separate driver for it which is better,
now in wip/intel-vaapi-driver. thanks leot for pointing it out.

bump pkgrevision

diffstat:

 multimedia/libva/Makefile              |   4 ++--
 multimedia/libva/distinfo              |   3 +--
 multimedia/libva/patches/patch-va_va.c |  29 -----------------------------
 3 files changed, 3 insertions(+), 33 deletions(-)

diffs (62 lines):

diff -r 974877629d3f -r 57afa006eafd multimedia/libva/Makefile
--- a/multimedia/libva/Makefile Mon Mar 06 10:01:26 2017 +0000
+++ b/multimedia/libva/Makefile Mon Mar 06 10:19:57 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2017/02/24 19:14:17 maya Exp $
+# $NetBSD: Makefile,v 1.14 2017/03/06 10:19:57 maya Exp $
 #
 
 DISTNAME=      libva-1.7.3
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    multimedia
 MASTER_SITES=  http://www.freedesktop.org/software/vaapi/releases/libva/
 EXTRACT_SUFX=  .tar.bz2
diff -r 974877629d3f -r 57afa006eafd multimedia/libva/distinfo
--- a/multimedia/libva/distinfo Mon Mar 06 10:01:26 2017 +0000
+++ b/multimedia/libva/distinfo Mon Mar 06 10:19:57 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2017/02/24 19:14:17 maya Exp $
+$NetBSD: distinfo,v 1.9 2017/03/06 10:19:57 maya Exp $
 
 SHA1 (libva-1.7.3.tar.bz2) = 18e46f3d5a0e971eb0ec9fe14bc021e69eb13fb8
 RMD160 (libva-1.7.3.tar.bz2) = d29e432f666df9df8b312c45cd7d9ec2f6ef6e3c
@@ -8,5 +8,4 @@
 SHA1 (patch-ac) = d5cf7bb9175617d3d152e8c6fbc9d2ef823eba42
 SHA1 (patch-va_Makefile.am) = 0bf9bb930bce79994ef060e6ad44cb1bf9eb0773
 SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251
-SHA1 (patch-va_va.c) = 6987c93b7be0d2c9fda780b73e48894faaed60f1
 SHA1 (patch-va_va__trace.c) = 4dfdc200e9e34625929612e594d880cff1f6271d
diff -r 974877629d3f -r 57afa006eafd multimedia/libva/patches/patch-va_va.c
--- a/multimedia/libva/patches/patch-va_va.c    Mon Mar 06 10:01:26 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-va_va.c,v 1.1 2017/02/24 16:44:03 maya Exp $
-
-libva can currently (201702) only use gallium, having tested
-for the definition of __vaDriverInit in libraries in DRIVER_SEARCH_PATH
-(see package Makefile).
-
-however, it doesn't guess the right driver name for nouveau, so force
-it to use gallium.
-
---- va/va.c.orig       2016-11-10 01:04:28.000000000 +0000
-+++ va/va.c
-@@ -557,6 +557,17 @@ VAStatus vaInitialize (
-         driver_name = strdup(driver_name_env);
-         vaStatus = VA_STATUS_SUCCESS;
-         va_infoMessage("User requested driver '%s'\n", driver_name);
-+    } else {
-+      /*
-+       * XXX 201702 only gallium works (provides the required __vaDriverInit)
-+       * XXX but the correct name is not guessed, so force it.
-+       */
-+      if (driver_name) /* memory is allocated in va_getDriverName */
-+              free(driver_name);
-+
-+      driver_name = strdup("gallium");
-+      vaStatus = VA_STATUS_SUCCESS;
-+      va_infoMessage("Using hard-coded gallium driver\n");
-     }
- 
-     if ((VA_STATUS_SUCCESS == vaStatus) && (driver_name != NULL)) {



Home | Main Index | Thread Index | Old Index