diff --git a/patches/duckdb/extension_install_rework.patch b/patches/duckdb/extension_install_rework.patch index 0d5a7e9a5..4b538c33f 100644 --- a/patches/duckdb/extension_install_rework.patch +++ b/patches/duckdb/extension_install_rework.patch @@ -5,7 +5,7 @@ index 2a6fffa994..f4ef687ddd 100644 @@ -96,6 +96,10 @@ private: shared_ptr db_cache_entry; - duckdb_ext_api_v0 (*create_api_v0)(); + duckdb_ext_api_v1 (*create_api_v1)(); +public: + static void SetPreferredRepository(const string& extension, const string &repository); + static string GetPreferredRepository(const string& extension); diff --git a/patches/duckdb/hardcode_abi_type.patch b/patches/duckdb/hardcode_abi_type.patch new file mode 100644 index 000000000..be3ad273e --- /dev/null +++ b/patches/duckdb/hardcode_abi_type.patch @@ -0,0 +1,13 @@ +diff --git a/src/main/extension/extension_load.cpp b/src/main/extension/extension_load.cpp +index a7a7c62fef..d560a3b3b3 100644 +--- a/src/main/extension/extension_load.cpp ++++ b/src/main/extension/extension_load.cpp +@@ -451,7 +451,7 @@ bool ExtensionHelper::TryInitialLoad(DatabaseInstance &db, FileSystem &fs, const + result.filebase = lowercase_extension_name; + result.filename = filename; + result.lib_hdl = lib_hdl; +- result.abi_type = parsed_metadata.abi_type; ++ result.abi_type = ExtensionABIType::CPP; + + if (!direct_load) { + auto info_file_name = filename + ".info";