mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
dev-db/sqlite: Sync with Gentoo
It's from Gentoo commit 0f1f3c58f0c6a601c9ea3ba1013a14925a3c8c43.
This commit is contained in:
parent
5e07e2e156
commit
85735393f7
20
sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.45.1-lto.patch
vendored
Normal file
20
sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.45.1-lto.patch
vendored
Normal file
@ -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.
|
||||||
|
*/
|
||||||
|
|
@ -24,7 +24,7 @@ else
|
|||||||
"
|
"
|
||||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="public-domain"
|
LICENSE="public-domain"
|
||||||
|
@ -24,7 +24,7 @@ else
|
|||||||
"
|
"
|
||||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="public-domain"
|
LICENSE="public-domain"
|
||||||
@ -52,6 +52,7 @@ fi
|
|||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch
|
"${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch
|
||||||
|
"${FILESDIR}"/${P}-lto.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
_fossil_fetch() {
|
_fossil_fetch() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user