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 8F8AF15815E for ; Tue, 6 Feb 2024 03:27:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DE76E2A32; Tue, 6 Feb 2024 03:27:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CDB6E2A31 for ; Tue, 6 Feb 2024 03:27:03 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A50003430C9 for ; Tue, 6 Feb 2024 03:27:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A39F14DA for ; Tue, 6 Feb 2024 03:26:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1707189953.74e656bc7670fb39c9f3cb1917b7329bea4ae46a.sam@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-ppc64-ptr.patch dev-db/sqlite/sqlite-3.45.1-r1.ebuild dev-db/sqlite/sqlite-3.45.1.ebuild X-VCS-Directories: dev-db/sqlite/ dev-db/sqlite/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 74e656bc7670fb39c9f3cb1917b7329bea4ae46a X-VCS-Branch: master Date: Tue, 6 Feb 2024 03:26:59 +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: 364a9a3a-f526-46f6-a40c-1a413d077b50 X-Archives-Hash: b9af5d16873a7aa5f3ce186cb0f4663d commit: 74e656bc7670fb39c9f3cb1917b7329bea4ae46a Author: Sam James gentoo org> AuthorDate: Tue Feb 6 03:24:28 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 6 03:25:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e656bc dev-db/sqlite: fix 3.45.1 for ppc64 Signed-off-by: Sam James gentoo.org> dev-db/sqlite/files/sqlite-3.45.1-ppc64-ptr.patch | 24 ++++++++++++++++++++++ ...qlite-3.45.1.ebuild => sqlite-3.45.1-r1.ebuild} | 4 ++++ 2 files changed, 28 insertions(+) diff --git a/dev-db/sqlite/files/sqlite-3.45.1-ppc64-ptr.patch b/dev-db/sqlite/files/sqlite-3.45.1-ppc64-ptr.patch new file mode 100644 index 000000000000..f67917225d3f --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.45.1-ppc64-ptr.patch @@ -0,0 +1,24 @@ +https://sqlite.org/forum/forumpost/c3f1b5213a +--- a/config.guess 2024-01-31 ++++ b/config.guess 2024-01-31 +@@ -1425,7 +1425,7 @@ + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc +- if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ ++ if (echo '#ifdef __ppc__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + +--- a/src/tclsqlite.c 2024-01-31 ++++ b/src/tclsqlite.c 2024-01-31 +@@ -65,7 +65,7 @@ + # define SQLITE_PTRSIZE __SIZEOF_POINTER__ + # elif defined(i386) || defined(__i386__) || defined(_M_IX86) || \ + defined(_M_ARM) || defined(__arm__) || defined(__x86) || \ +- (defined(__APPLE__) && defined(__POWERPC__)) || \ ++ (defined(__APPLE__) && defined(__ppc__)) || \ + (defined(__TOS_AIX__) && !defined(__64BIT__)) + # define SQLITE_PTRSIZE 4 + # else diff --git a/dev-db/sqlite/sqlite-3.45.1.ebuild b/dev-db/sqlite/sqlite-3.45.1-r1.ebuild similarity index 99% rename from dev-db/sqlite/sqlite-3.45.1.ebuild rename to dev-db/sqlite/sqlite-3.45.1-r1.ebuild index e529a0d8187d..8ff12ceb6f51 100644 --- a/dev-db/sqlite/sqlite-3.45.1.ebuild +++ b/dev-db/sqlite/sqlite-3.45.1-r1.ebuild @@ -50,6 +50,10 @@ else BDEPEND+=" app-arch/unzip" fi +PATCHES=( + "${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch +) + _fossil_fetch() { local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" local repo_id="${1}"