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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEC45158042 for ; Tue, 22 Oct 2024 15:00:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56B40E089C; Tue, 22 Oct 2024 15:00:39 +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 1BBECE0870 for ; Tue, 22 Oct 2024 15:00:37 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH] profiles: Add a global USE=time64 Date: Tue, 22 Oct 2024 17:00:31 +0200 Message-ID: <20241022150031.232466-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.47.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 2682d1ff-0d84-4504-9e6d-0d009de1e4cb X-Archives-Hash: 76180e2e8dc8bb51b76570bbeab9c11d Add a global time64 flag that is forced on time64 profiles and masked elsewhere. This flag will be used to toggle the default _TIME_BITS value in sys-devel/gcc, and also to toggle between different archives in *-bin packages (e.g. dev-python/pypy*-exe-bin). Signed-off-by: Michał Górny --- profiles/base/package.use.mask | 5 ----- profiles/base/use.mask | 1 + profiles/features/time64/package.use.force | 5 ----- profiles/features/time64/package.use.mask | 5 ----- profiles/features/time64/use.force | 1 + profiles/features/time64/use.mask | 1 + profiles/use.desc | 1 + 7 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 profiles/features/time64/package.use.force delete mode 100644 profiles/features/time64/package.use.mask diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index d2d2e9dce85f..afc2e1e4ea73 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -3,11 +3,6 @@ # New entries go on top. -# Andreas K. Hüttel (2024-10-21) -# Mechanism for coping with the time64 transition of 32bit arches -# Will be unmasked in the time64 profiles -sys-devel/gcc time64 - # Peter Levine (2024-10-09) # Leads to missing symbols while building testcases # Masked for further testing. diff --git a/profiles/base/use.mask b/profiles/base/use.mask index d4be55670c18..b4845b0b52e8 100644 --- a/profiles/base/use.mask +++ b/profiles/base/use.mask @@ -8,6 +8,7 @@ # Mechanism for coping with the time64 transition of 32bit arches # Will be unmasked in the time64 profiles perl_features_time64 +time64 # Andreas K. Hüttel (2024-05-01) # PERL_FEATURES=debug is not a setting that should be used lightly. diff --git a/profiles/features/time64/package.use.force b/profiles/features/time64/package.use.force deleted file mode 100644 index 137600d494b1..000000000000 --- a/profiles/features/time64/package.use.force +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Andreas K. Hüttel (2024-10-21) -sys-devel/gcc time64 diff --git a/profiles/features/time64/package.use.mask b/profiles/features/time64/package.use.mask deleted file mode 100644 index 3afaa4de7226..000000000000 --- a/profiles/features/time64/package.use.mask +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Andreas K. Hüttel (2024-10-21) -sys-devel/gcc -time64 diff --git a/profiles/features/time64/use.force b/profiles/features/time64/use.force index 8f63a8938bd6..c31fab3410b8 100644 --- a/profiles/features/time64/use.force +++ b/profiles/features/time64/use.force @@ -3,3 +3,4 @@ # Andreas K. Hüttel (2024-10-21) perl_features_time64 +time64 diff --git a/profiles/features/time64/use.mask b/profiles/features/time64/use.mask index f450cc45526d..e18f63587f28 100644 --- a/profiles/features/time64/use.mask +++ b/profiles/features/time64/use.mask @@ -3,3 +3,4 @@ # Andreas K. Hüttel (2024-10-21) -perl_features_time64 +-time64 diff --git a/profiles/use.desc b/profiles/use.desc index feb500c78486..7b0ba9c60bf7 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -339,6 +339,7 @@ theora - Add support for the Theora Video Compression Codec threads - Add threads support for various packages. Usually pthreads tidy - Add support for HTML Tidy tiff - Add support for the TIFF image format +time64 - Use 64-bit time_t type instead of the regular 32-bit type. This flag is forced on time64 profiles, and masked elsewhere. It should be only used when detection of type width is not possible (e.g. for SRC_URI) timidity - Build with Timidity++ (MIDI sequencer) support tk - Add support for Tk GUI toolkit truetype - Add support for FreeType and/or FreeType2 fonts -- 2.47.0