Ticket #17138: cairo-1.8.2.diff
File cairo-1.8.2.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
files/patch-cairo-xlib-surface.c.diff
1 Fix build failure with xrender < 0.9.4 2 Can remove patch once xrender port is updated 3 --- src/cairo-xlib-surface.c 2008-10-30 09:34:32.000000000 -0500 4 +++ src/cairo-xlib-surface.c 2008-11-09 02:13:07.000000000 -0600 5 @@ -1437,10 +1437,10 @@ 6 7 switch (attributes->extend) { 8 case CAIRO_EXTEND_NONE: 9 - _cairo_xlib_surface_set_repeat (surface, RepeatNone); 10 + _cairo_xlib_surface_set_repeat (surface, 0); 11 break; 12 case CAIRO_EXTEND_REPEAT: 13 - _cairo_xlib_surface_set_repeat (surface, RepeatNormal); 14 + _cairo_xlib_surface_set_repeat (surface, 1); 15 break; 16 case CAIRO_EXTEND_REFLECT: 17 case CAIRO_EXTEND_PAD: -
Portfile
4 4 5 5 name cairo 6 6 set my_name cairo 7 version 1.8. 07 version 1.8.2 8 8 categories graphics 9 9 maintainers ryandesign 10 10 homepage http://cairographics.org/ … … 23 23 (eg. through the X Render Extension). 24 24 25 25 checksums \ 26 md5 4 ea70ea87b47e92d318d4e7f5b940f47\27 sha1 8a689ca47c24216f37bb8cabae21ff08a7f47899\28 rmd160 1b1079ab73813ca6782c0d4cb3623575e08ee94e26 md5 44d406e199c338cb60f7db32ffb32bdb \ 27 sha1 41e94d94e7f379551f556dd71979aca239a688c6 \ 28 rmd160 602008860bf35672cf48c7c8f9e1a6b5a702f6aa 29 29 30 30 depends_build \ 31 31 port:pkgconfig … … 40 40 port:zlib \ 41 41 port:expat 42 42 43 patchfiles \ 44 patch-cairo-xlib-surface.c.diff 45 43 46 pre-configure { 44 47 set pixman_minimum_version 0.12.0 45 48 set pixman_installed_version [exec pkg-config pixman-1 --modversion] … … 180 183 } 181 184 } 182 185 186 test.run yes 187 test.target check 188 183 189 livecheck.check regex 184 190 livecheck.url ${homepage}news/ 185 191 livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)