summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2005-08-22 23:45:05 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2005-08-22 23:45:05 +0000
commit1c34bf0676e49543eb49fae995098ec7c913f7d6 (patch)
treef73f56056394eb11b7de4178539c0e7b1425e4d4 /net-misc/vino/files/vino-2.11-zlib_fix.patch
parentonly depend on glib if gtk is in USE (diff)
downloadhistorical-1c34bf0676e49543eb49fae995098ec7c913f7d6.tar.gz
historical-1c34bf0676e49543eb49fae995098ec7c913f7d6.tar.bz2
historical-1c34bf0676e49543eb49fae995098ec7c913f7d6.zip
New release: 2.11.92
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc/vino/files/vino-2.11-zlib_fix.patch')
-rw-r--r--net-misc/vino/files/vino-2.11-zlib_fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/vino/files/vino-2.11-zlib_fix.patch b/net-misc/vino/files/vino-2.11-zlib_fix.patch
new file mode 100644
index 000000000000..4792632004b6
--- /dev/null
+++ b/net-misc/vino/files/vino-2.11-zlib_fix.patch
@@ -0,0 +1,17 @@
+diff -NurdB vino-2.11.90/server/libvncserver/zrle.c vino-2.11.90-patched/server/libvncserver/zrle.c
+--- vino-2.11.90/server/libvncserver/zrle.c 2004-02-05 03:55:25.000000000 -0500
++++ vino-2.11.90-patched/server/libvncserver/zrle.c 2005-08-22 17:30:06.000000000 -0500
+@@ -28,6 +28,8 @@
+ #include <zrleoutstream.h>
+
+
++#ifdef HAVE_LIBZ
++
+ #define GET_IMAGE_INTO_BUF(tx,ty,tw,th,buf) \
+ { char *fbptr = (cl->screen->frameBuffer \
+ + (cl->screen->paddedWidthInBytes * ty) \
+@@ -181,3 +183,4 @@
+ cl->zrleData = NULL;
+ }
+
++#endif /* HAVE_LIBZ */