summaryrefslogtreecommitdiff
path: root/net/gtk-vnc/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-04-06 10:17:32 +0000
committerwiz <wiz@pkgsrc.org>2009-04-06 10:17:32 +0000
commit39608f3c9f165b8a85c66ab81764c2ec2b6c5ddb (patch)
tree2af1e8a2d61265e1b70b110673962af115463df7 /net/gtk-vnc/patches
parent6c8004e1e2f9114c9b00a132b3037fdead431c17 (diff)
downloadpkgsrc-39608f3c9f165b8a85c66ab81764c2ec2b6c5ddb.tar.gz
Initial import of gtk-vnc-0.3.8nb1 from pkgsrc-wip:
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. It provides a core C library, and bindings for Python (PyGTK).
Diffstat (limited to 'net/gtk-vnc/patches')
-rw-r--r--net/gtk-vnc/patches/patch-aa15
-rw-r--r--net/gtk-vnc/patches/patch-ab15
-rw-r--r--net/gtk-vnc/patches/patch-ac13
3 files changed, 43 insertions, 0 deletions
diff --git a/net/gtk-vnc/patches/patch-aa b/net/gtk-vnc/patches/patch-aa
new file mode 100644
index 00000000000..a80d346c10e
--- /dev/null
+++ b/net/gtk-vnc/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/06 10:17:32 wiz Exp $
+
+--- src/gvnc.c.orig 2008-12-07 20:35:14.000000000 +0100
++++ src/gvnc.c
+@@ -59,6 +59,10 @@
+ #endif
+
+
++#ifndef AI_ADDRCONFIG
++#define AI_ADDRCONFIG 0
++#endif
++
+ struct wait_queue
+ {
+ gboolean waiting;
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);
diff --git a/net/gtk-vnc/patches/patch-ac b/net/gtk-vnc/patches/patch-ac
new file mode 100644
index 00000000000..4a5ac75a1e8
--- /dev/null
+++ b/net/gtk-vnc/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/04/06 10:17:32 wiz Exp $
+
+--- plugin/Makefile.in.orig 2008-09-05 12:32:30.000000000 +0000
++++ plugin/Makefile.in
+@@ -230,7 +230,7 @@ target_os = @target_os@
+ target_vendor = @target_vendor@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-@ENABLE_PLUGIN_TRUE@plugindir = $(libdir)/mozilla/plugins
++@ENABLE_PLUGIN_TRUE@plugindir = $(libdir)/firefox/plugins
+ @ENABLE_PLUGIN_TRUE@plugin_LTLIBRARIES = gtk-vnc-plugin.la
+ @ENABLE_PLUGIN_TRUE@gtk_vnc_plugin_la_SOURCES = \
+ @ENABLE_PLUGIN_TRUE@ gtk-vnc-plugin.c gtk-vnc-plugin.h npshell.c npunix.c