From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1498419-garchives=archives.gentoo.org@lists.gentoo.org>
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 E1A4C15A7D9
	for <garchives@archives.gentoo.org>; Sun, 19 Mar 2023 03:30:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 358C7E08F4;
	Sun, 19 Mar 2023 03:30:33 +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 184AFE08F4
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2023 03:30:33 +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 2D894340EA9
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2023 03:30:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B303888
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2023 03:30:30 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1679196567.8cfb2386afa1b59ffd40577048fd51e35065f125.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dmidecode/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/dmidecode/dmidecode-3.4-r1.ebuild sys-apps/dmidecode/dmidecode-3.4.ebuild sys-apps/dmidecode/dmidecode-3.5-r1.ebuild sys-apps/dmidecode/dmidecode-3.5.ebuild
X-VCS-Directories: sys-apps/dmidecode/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 8cfb2386afa1b59ffd40577048fd51e35065f125
X-VCS-Branch: master
Date: Sun, 19 Mar 2023 03:30:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1a230752-50c0-406c-8351-49685becc821
X-Archives-Hash: cff5b3d3e5e14be56d3ca028f337295e

commit:     8cfb2386afa1b59ffd40577048fd51e35065f125
Author:     Kapil Porwal <107070036+kapil-porwal <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Wed Feb 22 09:48:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 03:29:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfb2386

sys-apps/dmidecode: Enable LFS

The Makefile for this application is adding "_FILE_OFFSET_BITS=64" to the CFLAGS but the ebuild seems to be overriding it.

Signed-off-by: Kapil Porwal <107070036+kapil-porwal <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/29717
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/dmidecode/{dmidecode-3.4.ebuild => dmidecode-3.4-r1.ebuild} | 2 +-
 sys-apps/dmidecode/{dmidecode-3.5.ebuild => dmidecode-3.5-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/dmidecode/dmidecode-3.4.ebuild b/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild
similarity index 95%
rename from sys-apps/dmidecode/dmidecode-3.4.ebuild
rename to sys-apps/dmidecode/dmidecode-3.4-r1.ebuild
index 82a023f12031..92d65b193d64 100644
--- a/sys-apps/dmidecode/dmidecode-3.4.ebuild
+++ b/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild
@@ -30,7 +30,7 @@ src_prepare() {
 
 src_compile() {
 	emake \
-		CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+		CFLAGS="-D_FILE_OFFSET_BITS=64 ${CFLAGS} ${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}" \
 		CC="$(tc-getCC)"
 }

diff --git a/sys-apps/dmidecode/dmidecode-3.5.ebuild b/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild
similarity index 95%
rename from sys-apps/dmidecode/dmidecode-3.5.ebuild
rename to sys-apps/dmidecode/dmidecode-3.5-r1.ebuild
index fd9962c60623..07d8528c8c98 100644
--- a/sys-apps/dmidecode/dmidecode-3.5.ebuild
+++ b/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild
@@ -30,7 +30,7 @@ src_prepare() {
 
 src_compile() {
 	emake \
-		CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+		CFLAGS="-D_FILE_OFFSET_BITS=64 ${CFLAGS} ${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}" \
 		CC="$(tc-getCC)"
 }