diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2024-03-01 20:07:54 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2024-03-01 20:09:39 +0100 |
commit | c0ef351efe7ed1b1196daee0d0cd1621341ae165 (patch) | |
tree | c3fe912d99860952b9ee6b7a7f7a2330dd3a08a8 /dev-db/sqlite | |
parent | dev-python/mkdocs-static-i18n: Bump to 1.2.2 (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.45.1-lto.patch | 20 | ||||
-rw-r--r-- | dev-db/sqlite/sqlite-3.45.1-r1.ebuild | 1 |
2 files changed, 21 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. + */ + diff --git a/dev-db/sqlite/sqlite-3.45.1-r1.ebuild b/dev-db/sqlite/sqlite-3.45.1-r1.ebuild index ad62f71390b1..20b0d016dc47 100644 --- a/dev-db/sqlite/sqlite-3.45.1-r1.ebuild +++ b/dev-db/sqlite/sqlite-3.45.1-r1.ebuild @@ -52,6 +52,7 @@ fi PATCHES=( "${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch + "${FILESDIR}"/${P}-lto.patch ) _fossil_fetch() { |