summaryrefslogtreecommitdiff
path: root/net/synergy1.2/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/synergy1.2/patches/patch-ab')
-rw-r--r--net/synergy1.2/patches/patch-ab13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/synergy1.2/patches/patch-ab b/net/synergy1.2/patches/patch-ab
index 9c8e2b42a0f..d6f183c29e6 100644
--- a/net/synergy1.2/patches/patch-ab
+++ b/net/synergy1.2/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.2 2011/11/22 20:07:20 joerg Exp $
+$NetBSD: patch-ab,v 1.3 2012/08/08 13:42:42 marino Exp $
---- lib/arch/CArchNetworkBSD.cpp.orig 2011-11-22 19:34:07.000000000 +0000
+--- lib/arch/CArchNetworkBSD.cpp.orig 2005-07-28 01:50:02.000000000 +0000
+++ lib/arch/CArchNetworkBSD.cpp
@@ -28,6 +28,7 @@
#include <fcntl.h>
@@ -10,3 +10,12 @@ $NetBSD: patch-ab,v 1.2 2011/11/22 20:07:20 joerg Exp $
#if HAVE_POLL
# include <poll.h>
+@@ -50,6 +51,8 @@
+ #if HAVE_ALLOCA_H
+ # define freea(x_)
+ #else
++# undef alloca
++# undef freea
+ # define alloca(x_) malloc(x_)
+ # define freea(x_) free(x_)
+ #endif