Hello community,

here is the log from the commit of package libdrm for openSUSE:Factory checked 
in at 2012-09-25 14:04:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdrm (Old)
 and      /work/SRC/openSUSE:Factory/.libdrm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdrm", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdrm/libdrm.changes    2012-09-17 
17:00:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libdrm.new/libdrm.changes       2012-09-25 
14:18:24.000000000 +0200
@@ -1,0 +2,13 @@
+Sun Sep 23 10:53:52 UTC 2012 - [email protected]
+
+- u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.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
+
+-------------------------------------------------------------------
+Thu Sep 20 22:13:32 UTC 2012 - [email protected]
+
+- let libdrm-devel require libkms-devel 
+
+-------------------------------------------------------------------

New:
----
  u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdrm.spec ++++++
--- /var/tmp/diff_new_pack.pAWwAd/_old  2012-09-25 14:18:25.000000000 +0200
+++ /var/tmp/diff_new_pack.pAWwAd/_new  2012-09-25 14:18:25.000000000 +0200
@@ -38,6 +38,7 @@
 Source2:        baselibs.conf
 # PATCH-FIX-UPSTREAM libdrm-implicit-defs.diff fdo#48599 -- Fix compiler 
warnings in tests/radeon/radeon_ttm.c
 Patch1:         libdrm-implicit-defs.diff
+Patch2:         u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf >= 2.63
@@ -81,6 +82,7 @@
 Obsoletes:      libdrm-devel-64bit < %{version}
 Provides:       libdrm-devel-64bit = %{version}
 %endif
+Requires:       libkms-devel = %{version}
 #
 
 %description devel
@@ -155,6 +157,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"

++++++ u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch ++++++
>From 23fb372294bb72335157bc5b9b5a60235ce72f41 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <[email protected]>
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

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to