- removed no longer needed patch
u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch (https://lists.freedesktop.org/archives/dri-devel/2016-April/105283.html) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=214
This commit is contained in:
parent
17fa53b52d
commit
b5e1a84b6a
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 20 15:17:44 UTC 2016 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- removed no longer needed patch
|
||||||
|
u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch
|
||||||
|
(https://lists.freedesktop.org/archives/dri-devel/2016-April/105283.html)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 16 10:25:48 UTC 2016 - mimi.vx@gmail.com
|
Tue Feb 16 10:25:48 UTC 2016 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ Group: System/Libraries
|
|||||||
Source: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
Source: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM libdrm-implicit-defs.diff fdo#48599 -- Fix compiler warnings in tests/radeon/radeon_ttm.c
|
# PATCH-FIX-UPSTREAM libdrm-implicit-defs.diff fdo#48599 -- Fix compiler warnings in tests/radeon/radeon_ttm.c
|
||||||
Patch2: u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf >= 2.63
|
BuildRequires: autoconf >= 2.63
|
||||||
@ -181,8 +180,6 @@ Group: System/Libraries
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# reverse apply (fdo#89842)
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
From 23fb372294bb72335157bc5b9b5a60235ce72f41 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stefan Dirsch <sndirsch@suse.de>
|
|
||||||
Date: Sun, 23 Sep 2012 12:50:40 +0200
|
|
||||||
Subject: [PATCH] Fix compilation on systems that don't provide O_CLOEXEC.
|
|
||||||
|
|
||||||
Patch suggestion by Thomas Klausner <wiz%NetBSD.org@localhost>. See
|
|
||||||
also http://mail-index.netbsd.org/pkgsrc-changes/2012/08/13/msg076887.html
|
|
||||||
---
|
|
||||||
include/drm/drm.h | 4 ++++
|
|
||||||
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/include/drm/drm.h b/include/drm/drm.h
|
|
||||||
index a847689..a6164ae 100644
|
|
||||||
--- a/include/drm/drm.h
|
|
||||||
+++ b/include/drm/drm.h
|
|
||||||
@@ -618,7 +618,11 @@ struct drm_get_cap {
|
|
||||||
__u64 value;
|
|
||||||
};
|
|
||||||
|
|
||||||
+#ifdef O_CLOEXEC
|
|
||||||
#define DRM_CLOEXEC O_CLOEXEC
|
|
||||||
+#else
|
|
||||||
+#define DRM_CLOEXEC 0
|
|
||||||
+#endif
|
|
||||||
struct drm_prime_handle {
|
|
||||||
__u32 handle;
|
|
||||||
|
|
||||||
--
|
|
||||||
1.7.3.4
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user