summaryrefslogtreecommitdiff
path: root/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb')
-rw-r--r--databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb40
1 files changed, 13 insertions, 27 deletions
diff --git a/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb b/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
index e29e3a4a9fec..c8b94b0e486a 100644
--- a/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
+++ b/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
@@ -1,12 +1,12 @@
---- ext/sqlite3/extconf.rb.orig 2022-09-10 15:17:36 UTC
+--- ext/sqlite3/extconf.rb.orig 2022-10-03 13:15:30 UTC
+++ ext/sqlite3/extconf.rb
@@ -1,5 +1,4 @@
require "mkmf"
-require "mini_portile2"
+ require "yaml"
module Sqlite3
- module ExtConf
-@@ -48,33 +47,6 @@ module Sqlite3
+@@ -49,33 +48,6 @@ module Sqlite3
end
def configure_packaged_libraries
@@ -40,7 +40,7 @@
end
def configure_extension
-@@ -115,11 +87,6 @@ module Sqlite3
+@@ -116,11 +88,6 @@ module Sqlite3
end
def minimal_recipe
@@ -52,7 +52,7 @@
end
def package_root_dir
-@@ -127,27 +94,9 @@ module Sqlite3
+@@ -128,12 +95,9 @@ module Sqlite3
end
def sqlite3_config
@@ -60,33 +60,19 @@
end
def mini_portile_config
-- {
-- sqlite3: {
-- # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
-- #
-- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390300.tar.gz
-- # dfa055c70724cd63f0b7da6e9f53530d8da51fe021e3f864d58c7c847d590e1d ports/archives/sqlite-autoconf-3390300.tar.gz
-- #
-- # $ sha256sum ports/archives/sqlite-autoconf-3390300.tar.gz
-- # 7868fb3082be3f2cf4491c6fba6de2bddcbc293a35fefb0624ee3c13f01422b9 ports/archives/sqlite-autoconf-3390300.tar.gz
-- #
-- version: "3.39.3",
-- files: [{
-- url: "https://www.sqlite.org/2022/sqlite-autoconf-3390300.tar.gz",
-- sha256: "7868fb3082be3f2cf4491c6fba6de2bddcbc293a35fefb0624ee3c13f01422b9",
-- }],
-- }
-- }
+- # TODO: once Ruby 2.7 is no longer supported, use symbolize_names: true
+- YAML.load_file(File.join(package_root_dir, "dependencies.yml"))
end
def abort_could_not_find(missing)
-@@ -156,10 +105,6 @@ module Sqlite3
+@@ -141,11 +105,9 @@ module Sqlite3
+ end
def cross_build?
- enable_config("cross-build")
-- end
--
-- def download
+- enable_config("cross-build")
+ end
+
+ def download
- minimal_recipe.download
end