summaryrefslogtreecommitdiff
path: root/archivers/ruby-xz/patches
diff options
context:
space:
mode:
authortaca <taca>2015-03-01 12:58:16 +0000
committertaca <taca>2015-03-01 12:58:16 +0000
commitd7133ae37a987046ef16d7278068fc5b7176f83f (patch)
tree0a9c542c5e415e5e891812479f6fe493a7f94a09 /archivers/ruby-xz/patches
parentfcec4e0e4e8efeec65a7d7e4e2c41af6c1c47a50 (diff)
downloadpkgsrc-d7133ae37a987046ef16d7278068fc5b7176f83f.tar.gz
Update ruby-xz to 0.2.1.
0.2.1 (2014-02-08) * Build the gem properly on Ruby 2.0+ (PR #8 by Nana Sakisaka (saki7)) * Release the GIL when interfacing with liblzma (PR #7 by Lars Christensen * (larsch)) 0.2.0 (2013-06-23) * Fix #6 (errors on JRuby) by Ben Nagy * Remove 1.8 compatibility
Diffstat (limited to 'archivers/ruby-xz/patches')
-rw-r--r--archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb b/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb
index e32281db2c0..fe3440a44c6 100644
--- a/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb
+++ b/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb
@@ -1,15 +1,15 @@
-$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.2 2013/11/13 18:10:20 minskim Exp $
+$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.3 2015/03/01 12:58:17 taca Exp $
Use an absolute path for a library to load.
---- lib/xz/lib_lzma.rb.orig 2012-03-19 09:42:58.000000000 +0000
+--- lib/xz/lib_lzma.rb.orig 2014-08-15 07:57:40.000000000 +0000
+++ lib/xz/lib_lzma.rb
@@ -71,7 +71,7 @@ module XZ
:lzma_buf_error,
:lzma_prog_error
-
-- ffi_lib ['lzma.so.2', 'lzma.so', 'lzma']
-+ ffi_lib ['liblzma.@SHLIB_EXT@.2', 'liblzma.@SHLIB_EXT@', 'liblzma'].map! { |f| File.join('@LOCALBASE@/lib', f) }
-
- attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int
- attach_function :lzma_code, [:pointer, :int], :int
+
+- ffi_lib ['lzma.so.5', 'lzma.so', 'lzma']
++ ffi_lib ['liblzma.@SHLIB_EXT@.5', 'liblzma.@SHLIB_EXT@', 'liblzma'].map! { |f| File.join('@LOCALBASE@/lib', f) }
+
+ attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int, :blocking => true
+ attach_function :lzma_code, [:pointer, :int], :int, :blocking => true