From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CDD79158041 for ; Fri, 1 Mar 2024 19:10:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBFE6E29FE; Fri, 1 Mar 2024 19:10:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9421AE29FE for ; Fri, 1 Mar 2024 19:10:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6123E343051 for ; Fri, 1 Mar 2024 19:10:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4E1D1065 for ; Fri, 1 Mar 2024 19:10:10 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1709320179.c0ef351efe7ed1b1196daee0d0cd1621341ae165.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlite/, dev-db/sqlite/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/sqlite/files/sqlite-3.45.1-lto.patch dev-db/sqlite/sqlite-3.45.1-r1.ebuild X-VCS-Directories: dev-db/sqlite/files/ dev-db/sqlite/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: c0ef351efe7ed1b1196daee0d0cd1621341ae165 X-VCS-Branch: master Date: Fri, 1 Mar 2024 19:10:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 61d1db93-4a85-43a8-bc0e-d123d18137bf X-Archives-Hash: 9dd6afab8372f5146442142704c60213 commit: c0ef351efe7ed1b1196daee0d0cd1621341ae165 Author: Jakov Smolić gentoo org> AuthorDate: Fri Mar 1 19:07:54 2024 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Fri Mar 1 19:09:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ef351e dev-db/sqlite: Backport LTO patch to 3.45.1 Closes: https://bugs.gentoo.org/924300 Signed-off-by: Jakov Smolić gentoo.org> dev-db/sqlite/files/sqlite-3.45.1-lto.patch | 20 ++++++++++++++++++++ dev-db/sqlite/sqlite-3.45.1-r1.ebuild | 1 + 2 files changed, 21 insertions(+) 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() {