diff --git a/srcpkgs/ruby-hpricot/template b/srcpkgs/ruby-hpricot/template index 1d00fc85ff2..27f69da0535 100644 --- a/srcpkgs/ruby-hpricot/template +++ b/srcpkgs/ruby-hpricot/template @@ -1,7 +1,7 @@ # Template file for 'ruby-hpricot' pkgname=ruby-hpricot version=0.8.6 -revision=9 +revision=10 build_style=gemspec makedepends="ruby-devel" short_desc="Swift, liberal HTML parser" @@ -13,6 +13,8 @@ checksum=792f63cebe2f2b02058974755b4c8a3aef52e5daf37f779a34885d5ff2876017 pre_build() { sed -i '3,4d' ext/hpricot_scan/extconf.rb + # ugly hack + sed -i '2i$INCFLAGS << " -Wno-error=incompatible-pointer-types"' ext/fast_xs/extconf.rb ext/hpricot_scan/extconf.rb } post_install() {