- added missing BuildRequires for pkgconfig(dri2proto)
- u_src-mesa_dri2.c-define-_GNU_SOURCE.patch * Without having defined _GNU_SOURCE __USE_GNU isn't defined either. Though secure_getenv() in stdlib.h isn't declared. OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libvdpau?expand=0&rev=6
This commit is contained in:
parent
4850627ffa
commit
85b68bf9a1
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 2 13:03:40 UTC 2015 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- added missing BuildRequires for pkgconfig(dri2proto)
|
||||||
|
- u_src-mesa_dri2.c-define-_GNU_SOURCE.patch
|
||||||
|
* Without having defined _GNU_SOURCE __USE_GNU isn't defined
|
||||||
|
either. Though secure_getenv() in stdlib.h isn't declared.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 1 14:02:11 UTC 2015 - sndirsch@suse.com
|
Tue Sep 1 14:02:11 UTC 2015 - sndirsch@suse.com
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-1.0.tar
|
|||||||
Source2: README
|
Source2: README
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
|
Patch0: u_src-mesa_dri2.c-define-_GNU_SOURCE.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -36,6 +37,7 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(dri2proto)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -83,6 +85,7 @@ Its usage is documented in the README.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -b1
|
%setup -q -b1
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
26
u_src-mesa_dri2.c-define-_GNU_SOURCE.patch
Normal file
26
u_src-mesa_dri2.c-define-_GNU_SOURCE.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 61c933961b9dd02c9dfb77f086c25b83749f4b37 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stefan Dirsch <sndirsch@suse.de>
|
||||||
|
Date: Wed, 2 Sep 2015 14:57:35 +0200
|
||||||
|
Subject: [PATCH] src/mesa_dri2.c: define _GNU_SOURCE
|
||||||
|
|
||||||
|
Without having defined _GNU_SOURCE __USE_GNU isn't defined either.
|
||||||
|
Though secure_getenv() in stdlib.h isn't declared.
|
||||||
|
---
|
||||||
|
src/mesa_dri2.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/mesa_dri2.c b/src/mesa_dri2.c
|
||||||
|
index 51e8794..8594c1f 100644
|
||||||
|
--- a/src/mesa_dri2.c
|
||||||
|
+++ b/src/mesa_dri2.c
|
||||||
|
@@ -35,6 +35,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
#define NEED_REPLIES
|
||||||
|
+#define _GNU_SOURCE
|
||||||
|
#include <X11/Xlibint.h>
|
||||||
|
#include <X11/extensions/Xext.h>
|
||||||
|
#include <X11/extensions/extutil.h>
|
||||||
|
--
|
||||||
|
1.8.4.5
|
||||||
|
|
Loading…
Reference in New Issue
Block a user