From 594276da83545930da18ebc8781cc91101933664 Mon Sep 17 00:00:00 2001 From: Thomas Powell Date: Wed, 6 Sep 2023 08:28:51 -0400 Subject: [PATCH 1/5] add libarchive.a to the load list options Signed-off-by: Thomas Powell --- lib/ffi-libarchive/archive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ffi-libarchive/archive.rb b/lib/ffi-libarchive/archive.rb index eda2445..84b4991 100644 --- a/lib/ffi-libarchive/archive.rb +++ b/lib/ffi-libarchive/archive.rb @@ -8,7 +8,7 @@ def self.attach_function_maybe(*args) end extend FFI::Library - ffi_lib %w{libarchive.so.13 libarchive.13 libarchive-13 libarchive.so libarchive archive} + ffi_lib %w{libarchive.so.13 libarchive.13 libarchive-13 libarchive.so libarchive archive libarchive.a} attach_function :archive_version_number, [], :int attach_function :archive_version_string, [], :string From a389285dcae0e518fd6cc72fb6c7d8638750aaa7 Mon Sep 17 00:00:00 2001 From: Thomas Powell Date: Wed, 6 Sep 2023 10:45:08 -0400 Subject: [PATCH 2/5] 0.1.13 branch to double check Signed-off-by: Thomas Powell --- VERSION | 2 +- lib/ffi-libarchive/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 0437331..7ac4e5e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.13 \ No newline at end of file +0.1.13 diff --git a/lib/ffi-libarchive/version.rb b/lib/ffi-libarchive/version.rb index b759f2d..1e3886c 100644 --- a/lib/ffi-libarchive/version.rb +++ b/lib/ffi-libarchive/version.rb @@ -1,3 +1,3 @@ module Archive - VERSION = "1.1.13".freeze + VERSION = "0.1.13".freeze end From 3005ee2db01baa12ae1869b3e7957ad38181261b Mon Sep 17 00:00:00 2001 From: Thomas Powell Date: Wed, 28 Feb 2024 08:36:09 -0500 Subject: [PATCH 3/5] Try to force load lzma Signed-off-by: Thomas Powell --- lib/ffi-libarchive/archive.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ffi-libarchive/archive.rb b/lib/ffi-libarchive/archive.rb index 84b4991..bcce2ab 100644 --- a/lib/ffi-libarchive/archive.rb +++ b/lib/ffi-libarchive/archive.rb @@ -8,6 +8,7 @@ def self.attach_function_maybe(*args) end extend FFI::Library + ffi_lib %w{liblzma.a} ffi_lib %w{libarchive.so.13 libarchive.13 libarchive-13 libarchive.so libarchive archive libarchive.a} attach_function :archive_version_number, [], :int From db2ddc5bad9b155bb17a2fee0fcff5d4e710d308 Mon Sep 17 00:00:00 2001 From: Thomas Powell Date: Mon, 25 Mar 2024 10:39:21 -0400 Subject: [PATCH 4/5] Just use 1.1.13 Signed-off-by: Thomas Powell --- VERSION | 2 +- lib/ffi-libarchive/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 7ac4e5e..9ea63db 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.13 +1.1.13 diff --git a/lib/ffi-libarchive/version.rb b/lib/ffi-libarchive/version.rb index 1e3886c..b759f2d 100644 --- a/lib/ffi-libarchive/version.rb +++ b/lib/ffi-libarchive/version.rb @@ -1,3 +1,3 @@ module Archive - VERSION = "0.1.13".freeze + VERSION = "1.1.13".freeze end From 2820f2efcc5ed0ba5f103ad46a2cdac757ac2cfd Mon Sep 17 00:00:00 2001 From: Thomas Powell Date: Mon, 1 Apr 2024 13:20:19 -0400 Subject: [PATCH 5/5] Try a different load name Signed-off-by: Thomas Powell --- lib/ffi-libarchive/archive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ffi-libarchive/archive.rb b/lib/ffi-libarchive/archive.rb index bcce2ab..0465c4f 100644 --- a/lib/ffi-libarchive/archive.rb +++ b/lib/ffi-libarchive/archive.rb @@ -8,7 +8,7 @@ def self.attach_function_maybe(*args) end extend FFI::Library - ffi_lib %w{liblzma.a} + ffi_lib %w{liblzma liblzma.la} ffi_lib %w{libarchive.so.13 libarchive.13 libarchive-13 libarchive.so libarchive archive libarchive.a} attach_function :archive_version_number, [], :int