From f098ca5eb235d45f3ca013b2f9e1088716e84365 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 5 Aug 2016 09:25:46 +0200 Subject: [PATCH] dev-ruby/hpricot: make sure last revision also has cast fix Package-Manager: portage-2.2.28 --- .../{hpricot-0.8.6-r4.ebuild => hpricot-0.8.6-r5.ebuild} | 3 +++ 1 file changed, 3 insertions(+) rename dev-ruby/hpricot/{hpricot-0.8.6-r4.ebuild => hpricot-0.8.6-r5.ebuild} (93%) 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() { -- 2.26.2