summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bee3d092ca1..c4adaa7666c 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() {