commit
80ea60e0d3
@ -1,31 +0,0 @@
|
|||||||
From 1cda354bdfd0c9ca107293b84b52f4464fdbedcc Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rico Tzschichholz <ricotz@ubuntu.com>
|
|
||||||
Date: Tue, 1 Sep 2015 10:45:11 +0200
|
|
||||||
Subject: [PATCH 1/3] mesa_dri2: Add missing include of config.h to define _GNU_SOURCE
|
|
||||||
|
|
||||||
Fix build with -Wimplicit-function-declaration while secure_getenv() is
|
|
||||||
guarded by __USE_GNU.
|
|
||||||
|
|
||||||
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
|
|
||||||
Tested-by: Stefan Dirsch <sndirsch@suse.de>
|
|
||||||
---
|
|
||||||
src/mesa_dri2.c | 3 +++
|
|
||||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/mesa_dri2.c b/src/mesa_dri2.c
|
|
||||||
index 51e8794..420ccee 100644
|
|
||||||
--- a/src/mesa_dri2.c
|
|
||||||
+++ b/src/mesa_dri2.c
|
|
||||||
@@ -33,6 +33,9 @@
|
|
||||||
* and José Hiram Soltren (jsoltren@nvidia.com)
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#ifdef HAVE_CONFIG_H
|
|
||||||
+#include "config.h"
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#define NEED_REPLIES
|
|
||||||
#include <X11/Xlibint.h>
|
|
||||||
--
|
|
||||||
1.7.2.1
|
|
||||||
|
|
||||||
@ -1,31 +0,0 @@
|
|||||||
From fb5362be7a6d6f89f76c5e171c339f5fa1916d38 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Aaron Plattner <aplattner@nvidia.com>
|
|
||||||
Date: Mon, 7 Sep 2015 21:16:58 -0700
|
|
||||||
Subject: [PATCH 2/3] util.h: Make getenv_wrapper() static inline
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
Otherwise, GCC generates a "‘getenv_wrapper’ defined but not used" warning.
|
|
||||||
|
|
||||||
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
|
||||||
---
|
|
||||||
src/util.h | 2 +-
|
|
||||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/util.h b/src/util.h
|
|
||||||
index 1452c06..39227ea 100644
|
|
||||||
--- a/src/util.h
|
|
||||||
+++ b/src/util.h
|
|
||||||
@@ -28,7 +28,7 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
-static char * getenv_wrapper(const char *name)
|
|
||||||
+static inline char * getenv_wrapper(const char *name)
|
|
||||||
{
|
|
||||||
if (getuid() == geteuid() && getgid() == getegid()) {
|
|
||||||
return getenv(name);
|
|
||||||
--
|
|
||||||
1.7.2.1
|
|
||||||
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
From a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Jos=C3=A9=20Hiram=20Soltren?= <jsoltren@nvidia.com>
|
|
||||||
Date: Wed, 9 Sep 2015 15:05:01 -0500
|
|
||||||
Subject: [PATCH 3/3] Fix doc error on displayable surface types
|
|
||||||
|
|
||||||
VdpVideoSurface is not directly displayable in the current
|
|
||||||
implementation of VDPAU. VdpOutputSurface is. Make the documentation
|
|
||||||
consistent with reality.
|
|
||||||
|
|
||||||
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
|
||||||
---
|
|
||||||
include/vdpau/vdpau.h | 2 +-
|
|
||||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/include/vdpau/vdpau.h b/include/vdpau/vdpau.h
|
|
||||||
index 8cc4524..0bc5b60 100644
|
|
||||||
--- a/include/vdpau/vdpau.h
|
|
||||||
+++ b/include/vdpau/vdpau.h
|
|
||||||
@@ -1704,7 +1704,7 @@ typedef VdpStatus VdpVideoSurfacePutBitsYCbCr(
|
|
||||||
* - The Hardware that implements \ref VdpPresentationQueue
|
|
||||||
* "VdpPresentationQueue" functionality,
|
|
||||||
*
|
|
||||||
- * VdpVideoSurfaces are directly displayable using a \ref
|
|
||||||
+ * VdpOutputSurfaces are directly displayable using a \ref
|
|
||||||
* VdpPresentationQueue "VdpPresentationQueue" object.
|
|
||||||
*
|
|
||||||
* @{
|
|
||||||
--
|
|
||||||
1.7.2.1
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
libvdpau-1.2.tar.bz2
Normal file
BIN
libvdpau-1.2.tar.bz2
Normal file
Binary file not shown.
@ -1,13 +1,10 @@
|
|||||||
Name: libvdpau
|
Name: libvdpau
|
||||||
Version: 1.1.1
|
Version: 1.2
|
||||||
Release: 11
|
Release: 1
|
||||||
Summary: Wrapper library for the Video Decode and Presentation API for UNIX
|
Summary: Wrapper library for the Video Decode and Presentation API for UNIX
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://freedesktop.org/wiki/Software/VDPAU
|
URL: http://freedesktop.org/wiki/Software/VDPAU
|
||||||
Source0: http://cgit.freedesktop.org/vdpau/libvdpau/snapshot/%{name}-%{version}.tar.bz2
|
Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/%{name}-%{version}.tar.bz2
|
||||||
Patch0: 0001-mesa_dri2-Add-missing-include-of-config.h-to-define-.patch
|
|
||||||
Patch1: 0002-util.h-Make-getenv_wrapper-static-inline.patch
|
|
||||||
Patch2: 0003-Fix-doc-error-on-displayable-surface-types.patch
|
|
||||||
|
|
||||||
BuildRequires: autoconf, automake, doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel
|
BuildRequires: autoconf, automake, doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel
|
||||||
BuildRequires: tex(latex), xorg-x11-proto-devel
|
BuildRequires: tex(latex), xorg-x11-proto-devel
|
||||||
@ -61,5 +58,8 @@ mv doc/html-out html
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 16 2020 yangjian<yangjian79@huawei.com> - 1.2-1
|
||||||
|
- Change the Source to valid address
|
||||||
|
|
||||||
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.1-11
|
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.1-11
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user