$NetBSD: patch-aa,v 1.1 2010/10/06 12:27:25 taca Exp $

* Fix for Ruby 1.9 from http://gist.github.com/611956.

--- lib/zip/stdrubyext.rb.orig	2010-10-06 01:16:09.000000000 +0000
+++ lib/zip/stdrubyext.rb
@@ -48,6 +48,10 @@ class String  #:nodoc:all
   def lchop
     slice(1, length)
   end
+
+  if "".respond_to?(:bytesize)
+    alias :bytesize :size
+  end
 end
 
 class Time  #:nodoc:all
