summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-08-05 09:25:46 +0200
committerHans de Graaff <graaff@gentoo.org>2016-08-05 10:16:26 +0200
commitf098ca5eb235d45f3ca013b2f9e1088716e84365 (patch)
tree7a8af8bc3b02f3c332396a02ef3e28b55574527c /dev-ruby
parentdev-perl/Test-Without-Module: Remove useless POD Tests. (diff)
downloadgentoo-f098ca5eb235d45f3ca013b2f9e1088716e84365.tar.gz
gentoo-f098ca5eb235d45f3ca013b2f9e1088716e84365.tar.bz2
gentoo-f098ca5eb235d45f3ca013b2f9e1088716e84365.zip
dev-ruby/hpricot: make sure last revision also has cast fix
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild (renamed from dev-ruby/hpricot/hpricot-0.8.6-r4.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/hpricot/hpricot-0.8.6-r4.ebuild b/dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild
index bee3d092ca1b..c4adaa7666c1 100644
--- a/dev-ruby/hpricot/hpricot-0.8.6-r4.ebuild
+++ b/dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild
@@ -37,6 +37,9 @@ all_ruby_prepare() {
# Avoid unneeded dependency on git.
sed -i -e '/^REV/ s/.*/REV = "6"/' Rakefile || die
+
+ # Fix int size warning
+ sed -i -e 's/te - ts/(int)(te - ts)/' ext/hpricot_scan/hpricot_css.rl || die
}
each_ruby_prepare() {