dev-ruby/hpricot: make sure last revision also has cast fix
authorHans de Graaff <graaff@gentoo.org>
Fri, 5 Aug 2016 07:25:46 +0000 (09:25 +0200)
committerHans de Graaff <graaff@gentoo.org>
Fri, 5 Aug 2016 08:16:26 +0000 (10:16 +0200)
Package-Manager: portage-2.2.28

dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild [moved from dev-ruby/hpricot/hpricot-0.8.6-r4.ebuild with 93% similarity]

similarity index 93%
rename from dev-ruby/hpricot/hpricot-0.8.6-r4.ebuild
rename to dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild
index bee3d092ca1ba3b67eb3ea4f71feaadce1c07dd7..c4adaa7666c18d1973f46674b9499da088add2cb 100644 (file)
@@ -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() {