commit:     f098ca5eb235d45f3ca013b2f9e1088716e84365
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 07:25:46 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 08:16:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f098ca5e

dev-ruby/hpricot: make sure last revision also has cast fix

Package-Manager: portage-2.2.28

 dev-ruby/hpricot/{hpricot-0.8.6-r4.ebuild => hpricot-0.8.6-r5.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

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 bee3d09..c4adaa7 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() {

Reply via email to