diff options
author | wiz <wiz@pkgsrc.org> | 2014-04-12 09:28:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-04-12 09:28:41 +0000 |
commit | 912143070f8d1acd75b92affe737f560d45fdd63 (patch) | |
tree | ebdf537da1de782a7f5ce86a60b6af7913e4b20f /x11 | |
parent | a023e79b4a718c7ee898b1e909bd94fc1a20a90b (diff) | |
download | pkgsrc-912143070f8d1acd75b92affe737f560d45fdd63.tar.gz |
Fix build on DragonFly BSD using a patch from David Shao. PR 48735.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libdrm/distinfo | 3 | ||||
-rw-r--r-- | x11/libdrm/patches/patch-libkms_vmwgfx.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/x11/libdrm/distinfo b/x11/libdrm/distinfo index 4d1faf50286..9094f37b85b 100644 --- a/x11/libdrm/distinfo +++ b/x11/libdrm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.40 2014/04/11 17:54:10 wiz Exp $ +$NetBSD: distinfo,v 1.41 2014/04/12 09:28:41 wiz Exp $ SHA1 (libdrm-2.4.53.tar.bz2) = d3381432045984faa060a43425d67fd359bf29e3 RMD160 (libdrm-2.4.53.tar.bz2) = f261c9884c57fb75d4c67d23cba9616a404c226e @@ -8,3 +8,4 @@ SHA1 (patch-ac) = 67c998df7dfc0dabc86320ea6d015cede3e464ea SHA1 (patch-ad) = ea3ef8de8db782ddab23f182f1e6bd9d8f612a78 SHA1 (patch-include_drm_drm.h) = d370e83da5c39f0e49094787c5f4580758c911b0 SHA1 (patch-libkms_linux.c) = 737d0a8e7b742ee9d24fec94c72de6b4915dd675 +SHA1 (patch-libkms_vmwgfx.c) = 373390c7c33df27227607ee1b8110bc65ca37af6 diff --git a/x11/libdrm/patches/patch-libkms_vmwgfx.c b/x11/libdrm/patches/patch-libkms_vmwgfx.c new file mode 100644 index 00000000000..bddf075e3ee --- /dev/null +++ b/x11/libdrm/patches/patch-libkms_vmwgfx.c @@ -0,0 +1,17 @@ +$NetBSD: patch-libkms_vmwgfx.c,v 1.1 2014/04/12 09:28:42 wiz Exp $ + +Provide compatibility errno number for non-Linux. + +--- libkms/vmwgfx.c.orig 2013-08-12 18:01:22.000000000 +0000 ++++ libkms/vmwgfx.c +@@ -38,6 +38,10 @@ + #include "xf86drm.h" + #include "vmwgfx_drm.h" + ++#ifndef ERESTART ++#define ERESTART 85 ++#endif ++ + struct vmwgfx_bo + { + struct kms_bo base; |