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 <mgo...@gentoo.org> --- 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 <dilfri...@gentoo.org> (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 <plevine...@gmail.com> (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 <dilfri...@gentoo.org> (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 <dilfri...@gentoo.org> (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 <dilfri...@gentoo.org> (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 <dilfri...@gentoo.org> (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 <dilfri...@gentoo.org> (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