Adds patches to sqlite-vec since we need them while waiting for upstream pulls. Replaces `replace-in-file` vendoring option with a .patch file for now, as otherwise it forces CRLF line endings due to bug 1963411. Keeping a list of patches is cleaner anyway. Some files are being replaced due to CRLF -> LF conversion. Differential Revision: https://phabricator.services.mozilla.com/D247229
12 lines
189 B
Diff
12 lines
189 B
Diff
--- a/sqlite-vec.c
|
|
+++ b/sqlite-vec.c
|
|
@@ -17,7 +17,7 @@
|
|
|
|
#ifndef SQLITE_CORE
|
|
#include "sqlite3ext.h"
|
|
-SQLITE_EXTENSION_INIT1
|
|
+SQLITE_EXTENSION_INIT3
|
|
#else
|
|
#include "sqlite3.h"
|
|
#endif
|