summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2024-03-01 20:07:54 +0100
committerJakov Smolić <jsmolic@gentoo.org>2024-03-01 20:09:39 +0100
commitc0ef351efe7ed1b1196daee0d0cd1621341ae165 (patch)
treec3fe912d99860952b9ee6b7a7f7a2330dd3a08a8 /dev-db/sqlite/files/sqlite-3.45.1-lto.patch
parentdev-python/mkdocs-static-i18n: Bump to 1.2.2 (diff)
downloadgentoo-c0ef351efe7ed1b1196daee0d0cd1621341ae165.tar.gz
gentoo-c0ef351efe7ed1b1196daee0d0cd1621341ae165.tar.bz2
gentoo-c0ef351efe7ed1b1196daee0d0cd1621341ae165.zip
dev-db/sqlite: Backport LTO patch to 3.45.1
Closes: https://bugs.gentoo.org/924300 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-db/sqlite/files/sqlite-3.45.1-lto.patch')
-rw-r--r--dev-db/sqlite/files/sqlite-3.45.1-lto.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.45.1-lto.patch b/dev-db/sqlite/files/sqlite-3.45.1-lto.patch
new file mode 100644
index 000000000000..3f15d1a29265
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.45.1-lto.patch
@@ -0,0 +1,20 @@
+# Bug: https://bugs.gentoo.org/924300
+# Taken from https://sqlite.org/src/info/803481f25020f3c
+--- a/test/fuzzcheck.c
++++ b/test/fuzzcheck.c
+@@ -159,12 +159,12 @@
+ } g;
+
+ /*
+ ** Include the external vt02.c and randomjson.c modules.
+ */
+-extern int sqlite3_vt02_init(sqlite3*,char***,void*);
+-extern int sqlite3_randomjson_init(sqlite3*,char***,void*);
++extern int sqlite3_vt02_init(sqlite3*,char**,const sqlite3_api_routines*);
++extern int sqlite3_randomjson_init(sqlite3*,char**,const sqlite3_api_routines*);
+
+
+ /*
+ ** Print an error message and quit.
+ */
+