diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-03-28 09:53:59 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-03-28 09:53:59 +0000 |
commit | 2ebc6eb269d7d2b46885fea36e060763ec92b917 (patch) | |
tree | ff40f0bcf8db59a653ae577b8d2f427196e3b8fb /archivers | |
parent | Update to 0.6.0. This library will soon be integrated into ruby 1.8 (diff) |
Catch up with the recent ruby-zlib changes. (PORTREVISION bumped)
Notes
Notes:
svn path=/head/; revision=77604
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/ruby-zip/Makefile | 1 | ||||
-rw-r--r-- | archivers/ruby-zip/files/patch-zip.rb | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile index 4d5b91a940a2..3c090ec1d29d 100644 --- a/archivers/ruby-zip/Makefile +++ b/archivers/ruby-zip/Makefile @@ -7,6 +7,7 @@ PORTNAME= zip PORTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= archivers ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ruby${PORTNAME} diff --git a/archivers/ruby-zip/files/patch-zip.rb b/archivers/ruby-zip/files/patch-zip.rb new file mode 100644 index 000000000000..ec80c3177898 --- /dev/null +++ b/archivers/ruby-zip/files/patch-zip.rb @@ -0,0 +1,20 @@ +--- zip.rb.orig Sat Mar 30 02:15:47 2002 ++++ zip.rb Fri Mar 28 05:03:01 2003 +@@ -173,7 +173,7 @@ + class Inflater < Decompressor + def initialize(inputStream) + super +- @zlibInflater = Zlib::Inflate.new(-Zlib::Inflate::MAX_WBITS) ++ @zlibInflater = Zlib::Inflate.new(-Zlib::MAX_WBITS) + @outputBuffer="" + @hasReturnedEmptyString = false + end +@@ -621,7 +621,7 @@ + class Deflater < Compressor + def initialize(outputStream, level = Zlib::DEFAULT_COMPRESSION) + @outputStream = outputStream +- @zlibDeflater = Zlib::Deflate.new(level, -Zlib::Deflate::MAX_WBITS) ++ @zlibDeflater = Zlib::Deflate.new(level, -Zlib::MAX_WBITS) + @size = 0 + @crc = Zlib::crc32 + end |