summaryrefslogtreecommitdiff
path: root/net/gtk-vnc/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/gtk-vnc/patches/patch-ab')
-rw-r--r--net/gtk-vnc/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/gtk-vnc/patches/patch-ab b/net/gtk-vnc/patches/patch-ab
new file mode 100644
index 00000000000..e58527f832d
--- /dev/null
+++ b/net/gtk-vnc/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/04/06 10:17:32 wiz Exp $
+
+--- src/coroutine_ucontext.c.orig 2008-09-05 12:32:16.000000000 +0000
++++ src/coroutine_ucontext.c
+@@ -14,6 +14,10 @@
+ #include <stdlib.h>
+ #include "coroutine.h"
+
++#ifndef MAP_ANONYMOUS
++#define MAP_ANONYMOUS MAP_ANON
++#endif
++
+ int coroutine_release(struct coroutine *co)
+ {
+ return cc_release(&co->cc);