From 460644a7d21da01ebe82d618544ed31fabac6e5c Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 16 Nov 2005 23:20:04 +0000 Subject: [PATCH] - Treat xorg-server-snap as a broken X.org version with respect to surface repeating. This fixes the wallpaper corruption in Nautilus. --- graphics/cairo/Makefile | 1 + graphics/cairo/files/patch-src_cairo-xlib-surface.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 graphics/cairo/files/patch-src_cairo-xlib-surface.c diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 5c6c9822b909..8774d3eb98ef 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -8,6 +8,7 @@ PORTNAME= cairo PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ diff --git a/graphics/cairo/files/patch-src_cairo-xlib-surface.c b/graphics/cairo/files/patch-src_cairo-xlib-surface.c new file mode 100644 index 000000000000..396ac3e29ed2 --- /dev/null +++ b/graphics/cairo/files/patch-src_cairo-xlib-surface.c @@ -0,0 +1,11 @@ +--- src/cairo-xlib-surface.c.orig Mon Oct 3 22:44:43 2005 ++++ src/cairo-xlib-surface.c Wed Nov 16 18:59:40 2005 +@@ -1758,7 +1758,7 @@ + + surface->buggy_repeat = FALSE; + if (strstr (ServerVendor (dpy), "X.Org") != NULL) { +- if (VendorRelease (dpy) <= 60802000) ++ if (VendorRelease (dpy) < 60900000) + surface->buggy_repeat = TRUE; + } else if (strstr (ServerVendor (dpy), "XFree86") != NULL) { + if (VendorRelease (dpy) <= 40500000)