pkgsrc/textproc/ruby-hpricot/patches/patch-aa
taca 1d2ed42c3f Update ruby-hpricot package to 0.8.3
= 0.8.3
=== 3 November, 2010
* GH#8: Nil-check before downcasing attribute key
* GH#25: Proper ruby 1.9 encoding support
* GH#28. Use integers instead of ?? on 1.9, which is just a string.
* including noscript to ElementInclusions , so that hpricot wont fail
  when trying to parse a meta tag inside head section when noscript is
  present.
* latest changes from fast_xs mainline
* Fixes to get Hpricot running on Rubinius:
  * Use free, not XFREE
  * Remove RSTRUCT craziness, don't break Array#at
2010-12-04 04:33:51 +00:00

15 lines
487 B
Text

$NetBSD: patch-aa,v 1.5 2010/12/04 04:33:52 taca Exp $
Don't extract revision dynamically using git command.
--- Rakefile.orig 2010-12-04 04:32:30.000000000 +0000
+++ Rakefile
@@ -11,7 +11,7 @@ end
RbConfig = Config unless defined?(RbConfig)
NAME = "hpricot"
-REV = (`#{ENV['GIT'] || "git"} rev-list HEAD`.split.length + 1).to_s
+REV = nil
VERS = ENV['VERSION'] || "0.8" + (REV ? ".#{REV}" : "")
PKG = "#{NAME}-#{VERS}"
BIN = "*.{bundle,jar,so,o,obj,pdb,lib,def,exp,class,rbc}"