diff --git a/0001-mesa_dri2-Add-missing-include-of-config.h-to-define-.patch b/0001-mesa_dri2-Add-missing-include-of-config.h-to-define-.patch deleted file mode 100644 index 5598410..0000000 --- a/0001-mesa_dri2-Add-missing-include-of-config.h-to-define-.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 1cda354bdfd0c9ca107293b84b52f4464fdbedcc Mon Sep 17 00:00:00 2001 -From: Rico Tzschichholz -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 -Tested-by: Stefan Dirsch ---- - 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 --- -1.7.2.1 - diff --git a/0002-util.h-Make-getenv_wrapper-static-inline.patch b/0002-util.h-Make-getenv_wrapper-static-inline.patch deleted file mode 100644 index 63a0648..0000000 --- a/0002-util.h-Make-getenv_wrapper-static-inline.patch +++ /dev/null @@ -1,31 +0,0 @@ -From fb5362be7a6d6f89f76c5e171c339f5fa1916d38 Mon Sep 17 00:00:00 2001 -From: Aaron Plattner -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 ---- - 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 - #include - --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 - diff --git a/0003-Fix-doc-error-on-displayable-surface-types.patch b/0003-Fix-doc-error-on-displayable-surface-types.patch deleted file mode 100644 index 1aac262..0000000 --- a/0003-Fix-doc-error-on-displayable-surface-types.patch +++ /dev/null @@ -1,30 +0,0 @@ -From a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jos=C3=A9=20Hiram=20Soltren?= -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 ---- - 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 - diff --git a/libvdpau-1.1.1.tar.bz2 b/libvdpau-1.1.1.tar.bz2 deleted file mode 100644 index 299fb20..0000000 Binary files a/libvdpau-1.1.1.tar.bz2 and /dev/null differ diff --git a/libvdpau-1.2.tar.bz2 b/libvdpau-1.2.tar.bz2 new file mode 100644 index 0000000..47a966c Binary files /dev/null and b/libvdpau-1.2.tar.bz2 differ diff --git a/libvdpau.spec b/libvdpau.spec index 6b43d68..8e17b74 100644 --- a/libvdpau.spec +++ b/libvdpau.spec @@ -1,13 +1,10 @@ Name: libvdpau -Version: 1.1.1 -Release: 11 +Version: 1.2 +Release: 1 Summary: Wrapper library for the Video Decode and Presentation API for UNIX License: MIT URL: http://freedesktop.org/wiki/Software/VDPAU -Source0: http://cgit.freedesktop.org/vdpau/libvdpau/snapshot/%{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 +Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/%{name}-%{version}.tar.bz2 BuildRequires: autoconf, automake, doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel BuildRequires: tex(latex), xorg-x11-proto-devel @@ -61,5 +58,8 @@ mv doc/html-out html %changelog +* Thu Jan 16 2020 yangjian - 1.2-1 +- Change the Source to valid address + * Thu Nov 28 2019 openEuler Buildteam - 1.1.1-11 - Package init