- Treat xorg-server-snap as a broken X.org version with respect to surface

repeating. This fixes the wallpaper corruption in Nautilus.
This commit is contained in:
Pav Lucistnik 2005-11-16 23:20:04 +00:00
parent 9a01ade2e1
commit 460644a7d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148534
2 changed files with 12 additions and 0 deletions

View file

@ -8,6 +8,7 @@
PORTNAME= cairo
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/

View file

@ -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)