summaryrefslogtreecommitdiff
path: root/wm/bmpanel2/patches/patch-widget-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'wm/bmpanel2/patches/patch-widget-utils.c')
-rw-r--r--wm/bmpanel2/patches/patch-widget-utils.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/wm/bmpanel2/patches/patch-widget-utils.c b/wm/bmpanel2/patches/patch-widget-utils.c
new file mode 100644
index 00000000000..63ad99e489c
--- /dev/null
+++ b/wm/bmpanel2/patches/patch-widget-utils.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-widget-utils.c,v 1.1.1.1 2011/06/18 15:30:59 wiz Exp $
+
+alloca.h is deprecated and doesn't exist on many systems.
+
+--- widget-utils.c.orig 2009-11-01 05:50:26.000000000 +0000
++++ widget-utils.c
+@@ -1,5 +1,5 @@
+ #include <stdio.h>
+-#include <alloca.h>
++#include <malloc.h>
+ #include "widget-utils.h"
+
+ /**************************************************************************