1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/japanese/migemo/files/extra-patch-migemo-index.rb
MANTANI Nobutaka bac10487f1 Fix incompatibility with Ruby 1.9.
Reported by:	    linimon
2011-08-22 14:48:19 +00:00

10 lines
252 B
Ruby

--- migemo-index.rb.orig 2003-05-26 15:45:53.000000000 +0900
+++ migemo-index.rb 2011-08-22 02:21:25.000000000 +0900
@@ -19,5 +19,5 @@
unless line =~ /^;/
print [offset].pack("N")
end
- offset += line.length
+ offset += line.bytesize
end