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 48CD71581D3 for ; Mon, 27 May 2024 16:14:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 630A3E2A40; Mon, 27 May 2024 16:14:38 +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 2724BE2A40 for ; Mon, 27 May 2024 16:14:38 +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 E32B8340441 for ; Mon, 27 May 2024 16:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 521C91161 for ; Mon, 27 May 2024 16:14:35 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1716826454.aac6041b8bab1aff33e29c00e4c9babcf6e7e3f9.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild X-VCS-Directories: sys-apps/i2c-tools/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: aac6041b8bab1aff33e29c00e4c9babcf6e7e3f9 X-VCS-Branch: master Date: Mon, 27 May 2024 16:14:35 +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: 81f2bdc9-d9c5-4c2c-96e2-22026a6809bd X-Archives-Hash: b81ea1b4883b3295dad486c70b367a44 commit: aac6041b8bab1aff33e29c00e4c9babcf6e7e3f9 Author: Jack Rosenthal chromium org> AuthorDate: Thu Apr 4 17:14:09 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon May 27 16:14:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac6041b sys-apps/i2c-tools: Add 32-bit LFS support The i2c-tools build doesn't natively support 32-bit LFS. Call append-lfs-flags to bring it in. Additionally, it appears the Makefile ignores CPPFLAGS, so hack that into CFLAGS. Signed-off-by: Jack Rosenthal chromium.org> Closes: https://github.com/gentoo/gentoo/pull/36103 Signed-off-by: Joonas Niilola gentoo.org> .../i2c-tools/{i2c-tools-4.3-r1.ebuild => i2c-tools-4.3-r2.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild b/sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild similarity index 92% rename from sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild rename to sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild index e0211bd875af..a76b3146c129 100644 --- a/sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild +++ b/sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild @@ -36,13 +36,14 @@ src_prepare() { src_configure() { use python && distutils-r1_src_configure + append-lfs-flags export BUILD_DYNAMIC_LIB=1 export USE_STATIC_LIB=0 export BUILD_STATIC_LIB=0 } src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" EXTRA="eeprog" + emake AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" EXTRA="eeprog" if use python ; then cd py-smbus || die