aboutsummaryrefslogtreecommitdiff
path: root/graphics/cairo
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-16 23:20:04 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-16 23:20:04 +0000
commit460644a7d21da01ebe82d618544ed31fabac6e5c (patch)
treecaec8d55d9ae484e56e5d1214bd30f27ba7a1d2a /graphics/cairo
parent9a01ade2e17ec42040ac39a25cfc8fee8cd54058 (diff)
downloadports-460644a7d21da01ebe82d618544ed31fabac6e5c.tar.gz
ports-460644a7d21da01ebe82d618544ed31fabac6e5c.zip
- Treat xorg-server-snap as a broken X.org version with respect to surface
repeating. This fixes the wallpaper corruption in Nautilus.
Notes
Notes: svn path=/head/; revision=148534
Diffstat (limited to 'graphics/cairo')
-rw-r--r--graphics/cairo/Makefile1
-rw-r--r--graphics/cairo/files/patch-src_cairo-xlib-surface.c11
2 files changed, 12 insertions, 0 deletions
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)