Revert "libdrm: add patch to support builds without 'o_cloexec'"

This reverts commit d79d8b0c61d5734de48fa696dfbd0d77fecc64fe.
This commit is contained in:
Stephan Raue 2012-11-21 18:02:05 +01:00
parent 4b88c152e9
commit 7971c27e3f

View File

@ -1,15 +0,0 @@
diff -Naur libdrm-2.4.40-old/include/drm/drm.h libdrm-2.4.40-new/include/drm/drm.h
--- libdrm-2.4.40-old/include/drm/drm.h 2012-07-29 06:39:21.000000000 -0700
+++ libdrm-2.4.40-new/include/drm/drm.h 2012-11-14 12:54:07.000000000 -0800
@@ -618,7 +618,11 @@
__u64 value;
};
+#ifdef O_CLOEXEC
#define DRM_CLOEXEC O_CLOEXEC
+#else
+#define DRM_CLOEXEC 0
+#endif
struct drm_prime_handle {
__u32 handle;