diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-12-31 05:01:32 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-12-31 05:01:32 +0000 |
commit | 2b66c17d64a197b8390971ec049db19b0fbe577a (patch) | |
tree | 3129937797fdf4f3b26b96969c326f512c840f26 /dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch | |
parent | remove unused games-rpg/nwn:nowin use flag (diff) | |
download | gentoo-2-2b66c17d64a197b8390971ec049db19b0fbe577a.tar.gz gentoo-2-2b66c17d64a197b8390971ec049db19b0fbe577a.tar.bz2 gentoo-2-2b66c17d64a197b8390971ec049db19b0fbe577a.zip |
Ignore cairo_svg_version_t if there is no svg support, #152532
(Portage version: 2.1.1)
Diffstat (limited to 'dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch')
-rw-r--r-- | dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch b/dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch new file mode 100644 index 000000000000..8da548d52b2a --- /dev/null +++ b/dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch @@ -0,0 +1,13 @@ +diff -ur rcairo-1.2.0/packages/cairo/ext/rb_cairo_constants.c rcairo-1.2.0.new/packages/cairo/ext/rb_cairo_constants.c +--- rcairo-1.2.0/packages/cairo/ext/rb_cairo_constants.c 2006-07-01 21:45:55.000000000 +0700 ++++ rcairo-1.2.0.new/packages/cairo/ext/rb_cairo_constants.c 2006-12-31 11:56:41.000000000 +0700 +@@ -97,7 +97,9 @@ + DEFINE_RVAL2ENUM(format, FORMAT) + DEFINE_RVAL2ENUM(extend, EXTEND) + DEFINE_RVAL2ENUM(filter, FILTER) ++#if CAIRO_HAS_SVG_SURFACE + DEFINE_RVAL2ENUM(svg_version, SVG_VERSION) ++#endif + + + void |