diff --git a/x11/libdrm/distinfo b/x11/libdrm/distinfo index 4d1faf502863..9094f37b85b3 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 000000000000..bddf075e3ee1 --- /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;