summaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-28 09:53:59 +0000
committerknu <knu@FreeBSD.org>2003-03-28 09:53:59 +0000
commitd5a1581d546a6614094b9ee52d5d5a3a7cc619a2 (patch)
tree1d92afba46e6bbdc8bcf86560270a6644a12f9e3 /archivers
parent4349825d564fce157450bde05e76c1df5efcef5b (diff)
downloadFreeBSD-ports-d5a1581d546a6614094b9ee52d5d5a3a7cc619a2.zip
FreeBSD-ports-d5a1581d546a6614094b9ee52d5d5a3a7cc619a2.tar.gz
Catch up with the recent ruby-zlib changes. (PORTREVISION bumped)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-zip/Makefile1
-rw-r--r--archivers/ruby-zip/files/patch-zip.rb20
2 files changed, 21 insertions, 0 deletions
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile
index 4d5b91a..3c090ec 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 0000000..ec80c31
--- /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
OpenPOWER on IntegriCloud