diff --git a/srcpkgs/cairo/cairo-devel.template b/srcpkgs/cairo/cairo-devel.template index 11bd7f6bc0f..99a3d758134 100644 --- a/srcpkgs/cairo/cairo-devel.template +++ b/srcpkgs/cairo/cairo-devel.template @@ -5,7 +5,7 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." -revision=3 +revision=4 Add_dependency run freetype-devel Add_dependency run fontconfig-devel diff --git a/srcpkgs/cairo/patches/cairo-1.10.0-buggy_gradients.patch b/srcpkgs/cairo/patches/cairo-1.10.0-buggy_gradients.patch new file mode 100644 index 00000000000..540c1a917f9 --- /dev/null +++ b/srcpkgs/cairo/patches/cairo-1.10.0-buggy_gradients.patch @@ -0,0 +1,13 @@ +--- src/cairo-xlib-display.c.ubuntu 2010-08-04 11:57:49.000000000 +0200 ++++ src/cairo-xlib-display.c 2010-08-04 11:58:28.000000000 +0200 +@@ -353,11 +353,7 @@ + /* Prior to Render 0.10, there is no protocol support for gradients and + * we call function stubs instead, which would silently consume the drawing. + */ +-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10 + display->buggy_gradients = TRUE; +-#else +- display->buggy_gradients = FALSE; +-#endif + display->buggy_pad_reflect = FALSE; + display->buggy_repeat = FALSE; diff --git a/srcpkgs/cairo/template b/srcpkgs/cairo/template index 600fbb1162d..72e7fb7a257 100644 --- a/srcpkgs/cairo/template +++ b/srcpkgs/cairo/template @@ -1,7 +1,7 @@ # Template build file for 'cairo'. pkgname=cairo version=1.12.0 -revision=3 +revision=4 homepage="http://cairographics.org" distfiles="${homepage}/releases/$pkgname-$version.tar.gz" build_style=gnu-configure