diff options
author | 2006-12-31 05:01:32 +0000 | |
---|---|---|
committer | 2006-12-31 05:01:32 +0000 | |
commit | 2b66c17d64a197b8390971ec049db19b0fbe577a (patch) | |
tree | 3129937797fdf4f3b26b96969c326f512c840f26 /dev-ruby/rcairo | |
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')
-rw-r--r-- | dev-ruby/rcairo/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch | 13 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.2.0.ebuild | 3 |
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index fcbec7f5dcec..325972d2451f 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/rcairo # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.4 2006/07/09 15:55:08 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.5 2006/12/31 05:01:31 pclouds Exp $ + + 31 Dec 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org> + +files/rcairo-1.2.0-no-svg.patch, rcairo-1.2.0.ebuild: + Ignore cairo_svg_version_t if there is no svg support, #152532 *rcairo-1.2.0 (09 Jul 2006) 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 diff --git a/dev-ruby/rcairo/rcairo-1.2.0.ebuild b/dev-ruby/rcairo/rcairo-1.2.0.ebuild index 3519fd0fa98c..51f8821fff06 100644 --- a/dev-ruby/rcairo/rcairo-1.2.0.ebuild +++ b/dev-ruby/rcairo/rcairo-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.2.0.ebuild,v 1.1 2006/07/09 15:55:08 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.2.0.ebuild,v 1.2 2006/12/31 05:01:31 pclouds Exp $ inherit ruby @@ -16,6 +16,7 @@ LICENSE="Ruby" KEYWORDS="~amd64 ~ia64 ~sparc ~x86" DEPEND=">=x11-libs/cairo-1.2.0" +PATCHES="${FILESDIR}/${P}-no-svg.patch" src_install() { ruby_src_install --prefix="${D}" |