openbsd-ports/x11/gtk-vnc/patches/patch-src_gvnc_c
jasper fc633f3d1b - update gtk-vnc to 0.3.8
* switches to cairo instead of gtkglext
- bump major

ok ajacoutot@
2008-12-11 12:36:31 +00:00

15 lines
444 B
Plaintext

$OpenBSD: patch-src_gvnc_c,v 1.2 2008/12/11 12:36:31 jasper Exp $
--- src/gvnc.c.orig Sun Dec 7 20:35:14 2008
+++ src/gvnc.c Wed Dec 10 23:19:36 2008
@@ -188,6 +188,10 @@ struct gvnc
#define nibhi(a) (((a) >> 4) & 0x0F)
#define niblo(a) ((a) & 0x0F)
+#if defined(__OpenBSD__)
+#define AI_ADDRCONFIG 0
+#endif
+
/* Main loop helper functions */
static gboolean g_io_wait_helper(GIOChannel *channel G_GNUC_UNUSED,
GIOCondition cond,