summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2015-08-18 13:26:29 +0000
committerrichard <richard@pkgsrc.org>2015-08-18 13:26:29 +0000
commitfe0a22ff56e3d985abfa11373df4bf36956761a4 (patch)
tree3349e2252bcd9846aa7e0d1d8dabdd1f369f6fc1 /x11
parentcb44bca1e499fdd49e16292d8d54da7dad121359 (diff)
downloadpkgsrc-fe0a22ff56e3d985abfa11373df4bf36956761a4.tar.gz
SunOS needs to include alloca.h
Diffstat (limited to 'x11')
-rw-r--r--x11/libdrm/distinfo3
-rw-r--r--x11/libdrm/patches/patch-amdgpu_amdgpu__cs.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/libdrm/distinfo b/x11/libdrm/distinfo
index d837a789a75..f30beb3c626 100644
--- a/x11/libdrm/distinfo
+++ b/x11/libdrm/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.55 2015/08/14 17:12:35 wiz Exp $
+$NetBSD: distinfo,v 1.56 2015/08/18 13:26:29 richard Exp $
SHA1 (libdrm-2.4.63.tar.bz2) = 996fb06859ef56bcecbdd43963d8258095caa2cc
RMD160 (libdrm-2.4.63.tar.bz2) = 699d7efbcb1b642a7d25035176931a0aa6b56c3c
Size (libdrm-2.4.63.tar.bz2) = 677288 bytes
SHA1 (patch-ab) = ebc345d7f1aeb583b3ebb883fb3b27abc5b8133c
SHA1 (patch-ac) = 67c998df7dfc0dabc86320ea6d015cede3e464ea
+SHA1 (patch-amdgpu_amdgpu__cs.c) = 8c88901b92000eaee89d541982f14c0a5b49c66e
SHA1 (patch-include_drm_drm.h) = 1cb10685b54a1c0ad71aef92edecbb0318fe4c99
SHA1 (patch-intel_intel__bufmgr__gem.c) = bab22f43ba85c48fd063b6ac667369d1223f908f
SHA1 (patch-libkms_vmwgfx.c) = d2204c0b79098c6c36b7f282b486c58c6354bd1d
diff --git a/x11/libdrm/patches/patch-amdgpu_amdgpu__cs.c b/x11/libdrm/patches/patch-amdgpu_amdgpu__cs.c
new file mode 100644
index 00000000000..f68c9d80270
--- /dev/null
+++ b/x11/libdrm/patches/patch-amdgpu_amdgpu__cs.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-amdgpu_amdgpu__cs.c,v 1.1 2015/08/18 13:26:29 richard Exp $
+at least on SunOS, alloca needs alloca.h
+--- amdgpu/amdgpu_cs.c.orig 2015-08-13 22:27:03.000000000 +0000
++++ amdgpu/amdgpu_cs.c
+@@ -32,7 +32,9 @@
+ #include <pthread.h>
+ #include <sched.h>
+ #include <sys/ioctl.h>
+-
++#ifdef HAVE_ALLOCA_H
++#include <alloca.h>
++#endif
+ #include "xf86drm.h"
+ #include "amdgpu_drm.h"
+ #include "amdgpu_internal.h"