summaryrefslogtreecommitdiff
path: root/wm/awesome/patches
diff options
context:
space:
mode:
authormarino <marino>2012-08-31 09:26:28 +0000
committermarino <marino>2012-08-31 09:26:28 +0000
commit64a2ab008e87d98d34a909bb24d4e576528e108c (patch)
tree0de1c0392cc3dba08799c7a3750ee967354d79a7 /wm/awesome/patches
parenta67a5c698894bc5c6a41a0abb63b1a0ab4192698 (diff)
downloadpkgsrc-64a2ab008e87d98d34a909bb24d4e576528e108c.tar.gz
wm/awesome: Fix build on DragonFly
Add DragonFly to list of systems that need to include alloca.h header.
Diffstat (limited to 'wm/awesome/patches')
-rw-r--r--wm/awesome/patches/patch-common_util.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/wm/awesome/patches/patch-common_util.h b/wm/awesome/patches/patch-common_util.h
new file mode 100644
index 00000000000..aee6da03bfa
--- /dev/null
+++ b/wm/awesome/patches/patch-common_util.h
@@ -0,0 +1,18 @@
+$NetBSD: patch-common_util.h,v 1.1 2012/08/31 09:26:29 marino Exp $
+
+DragonFly needs alloca.h too.
+
+--- common/util.h.orig 2012-07-15 10:12:21.000000000 +0000
++++ common/util.h
+@@ -32,7 +32,10 @@
+ #include <assert.h>
+ #include <stdio.h>
+
+-#if !(defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__))
++#if !(defined (__FreeBSD__) \
++ || defined(__DragonFly__) \
++ || defined(__OpenBSD__) \
++ || defined(__NetBSD__))
+ #include <alloca.h>
+ #endif
+