From: Hans de Graaff Date: Fri, 5 Aug 2016 07:25:46 +0000 (+0200) Subject: dev-ruby/hpricot: make sure last revision also has cast fix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f098ca5eb235d45f3ca013b2f9e1088716e84365;p=gentoo.git dev-ruby/hpricot: make sure last revision also has cast fix Package-Manager: portage-2.2.28 --- diff --git a/dev-ruby/hpricot/hpricot-0.8.6-r4.ebuild b/dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild 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 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() {