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 EE638158086 for ; Wed, 3 Nov 2021 21:10:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53AF8E0809; Wed, 3 Nov 2021 21:10:53 +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 3B4D3E069C for ; Wed, 3 Nov 2021 21:10:53 +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 CA672342CDC for ; Wed, 3 Nov 2021 21:10:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C163979 for ; Wed, 3 Nov 2021 21:10:49 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1635973553.19c215f245faf9a453e7171bddccc690c03f7b72.dilfridge@gentoo> Subject: [gentoo-commits] proj/sandbox:master commit in: libsbutil/ X-VCS-Repository: proj/sandbox X-VCS-Files: libsbutil/local.mk X-VCS-Directories: libsbutil/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 19c215f245faf9a453e7171bddccc690c03f7b72 X-VCS-Branch: master Date: Wed, 3 Nov 2021 21:10:49 +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: e150d8c0-3196-4458-9a6c-4497870f4da2 X-Archives-Hash: ce6dd3a2f129060366b72a1d83af6bbd commit: 19c215f245faf9a453e7171bddccc690c03f7b72 Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Nov 3 21:05:53 2021 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Nov 3 21:05:53 2021 +0000 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=19c215f2 Force sandbox-internal functions to use 64bit file interface This works around problems when a 64bit qemu is emulating a 32bit architecture. LFS has been present since glibc-2.2 and kernel 2.4. Signed-off-by: Andreas K. Hüttel gentoo.org> libsbutil/local.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/libsbutil/local.mk b/libsbutil/local.mk index 126c7ce..bede5bf 100644 --- a/libsbutil/local.mk +++ b/libsbutil/local.mk @@ -2,6 +2,7 @@ noinst_LTLIBRARIES += %D%/libsbutil.la %C%_libsbutil_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ + -D_FILE_OFFSET_BITS=64 \ -I$(top_srcdir)/%D% \ -I$(top_srcdir)/%D%/include %C%_libsbutil_la_LDFLAGS = -no-undefined