summaryrefslogtreecommitdiff
path: root/wm/awesome
diff options
context:
space:
mode:
authormarino <marino>2012-08-31 09:26:28 +0000
committermarino <marino>2012-08-31 09:26:28 +0000
commite5723b4aadaac64c5f454c1049923dac927f19be (patch)
tree0de1c0392cc3dba08799c7a3750ee967354d79a7 /wm/awesome
parent4aad57872d22bdc6ed77f9e6ec6845b619227266 (diff)
downloadpkgsrc-e5723b4aadaac64c5f454c1049923dac927f19be.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')
-rw-r--r--wm/awesome/distinfo3
-rw-r--r--wm/awesome/patches/patch-common_util.h18
2 files changed, 20 insertions, 1 deletions
diff --git a/wm/awesome/distinfo b/wm/awesome/distinfo
index 3aadaeb968c..16daf399c6f 100644
--- a/wm/awesome/distinfo
+++ b/wm/awesome/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2012/08/27 10:12:30 wiz Exp $
+$NetBSD: distinfo,v 1.11 2012/08/31 09:26:28 marino Exp $
SHA1 (awesome-3.4.13.tar.xz) = 6127ba6048cb538b6c318d1f5d9926fa067492c1
RMD160 (awesome-3.4.13.tar.xz) = 2cb4545c91d2310bd82a293cbc5b3e5b13868b58
Size (awesome-3.4.13.tar.xz) = 722876 bytes
SHA1 (patch-awesomeConfig.cmake) = ce48651d804fb8b277c33aed94861219acc1bc73
+SHA1 (patch-common_util.h) = 28af19f75c3e688f86742ee5cdeda4fe93973319
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
+