diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-11 19:03:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-11 19:03:47 +0000 |
commit | dd1afaf4b499c212d56912ecaaf0d822844f73d2 (patch) | |
tree | 78c65a8aeaf994381245198637c9e914a0f6c491 /x11/libdrm | |
parent | 2eac5e8d9d2c7f5546a1c4f1d0078d5139a1bfd2 (diff) | |
download | pkgsrc-dd1afaf4b499c212d56912ecaaf0d822844f73d2.tar.gz |
Add workaround for DragonFly since ETIME is not defined.
Diffstat (limited to 'x11/libdrm')
-rw-r--r-- | x11/libdrm/distinfo | 3 | ||||
-rw-r--r-- | x11/libdrm/patches/patch-intel_intel__bufmgr__gem.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/x11/libdrm/distinfo b/x11/libdrm/distinfo index 4792ae74621..0a6c64976f0 100644 --- a/x11/libdrm/distinfo +++ b/x11/libdrm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2012/07/01 15:47:02 wiz Exp $ +$NetBSD: distinfo,v 1.19 2012/07/11 19:03:47 wiz Exp $ SHA1 (libdrm-2.4.37.tar.bz2) = fa8463e390eee9b589dc369abc4cbe3e4ef16d16 RMD160 (libdrm-2.4.37.tar.bz2) = 5fee7f3618dd0f9dccc18804afe80600ecb5608f @@ -6,4 +6,5 @@ Size (libdrm-2.4.37.tar.bz2) = 504014 bytes SHA1 (patch-ab) = 66dadd3244bfa9c69be0982fd2108deb94483de2 SHA1 (patch-ac) = 67c998df7dfc0dabc86320ea6d015cede3e464ea SHA1 (patch-ad) = ea3ef8de8db782ddab23f182f1e6bd9d8f612a78 +SHA1 (patch-intel_intel__bufmgr__gem.c) = fd49e987c8c8b836e2adaa3654ccaa23960b5e88 SHA1 (patch-libkms_linux.c) = 737d0a8e7b742ee9d24fec94c72de6b4915dd675 diff --git a/x11/libdrm/patches/patch-intel_intel__bufmgr__gem.c b/x11/libdrm/patches/patch-intel_intel__bufmgr__gem.c new file mode 100644 index 00000000000..6891698f746 --- /dev/null +++ b/x11/libdrm/patches/patch-intel_intel__bufmgr__gem.c @@ -0,0 +1,16 @@ +$NetBSD: patch-intel_intel__bufmgr__gem.c,v 1.1 2012/07/11 19:03:47 wiz Exp $ + +ETIME is not defined on DragonFly BSD, work around it. + +--- intel/intel_bufmgr_gem.c.orig 2012-07-02 15:22:14.326942000 +0000 ++++ intel/intel_bufmgr_gem.c +@@ -54,6 +54,9 @@ + #include <stdbool.h> + + #include "errno.h" ++#ifndef ETIME ++#define ETIME ETIMEDOUT ++#endif + #include "libdrm_lists.h" + #include "intel_bufmgr.h" + #include "intel_bufmgr_priv.h" |