diff options
author | Sam James <sam@gentoo.org> | 2023-08-19 05:31:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-19 05:31:19 +0100 |
commit | 491bf8bd3ef621da49b168736a04f23aa4c7719c (patch) | |
tree | 703dffbcc8d02d0f0e4cdfcce84d6bff4986a92e /profiles | |
parent | dev-db/mydumper: Stabilize 0.14.5.2 amd64, #912453 (diff) | |
download | gentoo-491bf8bd3ef621da49b168736a04f23aa4c7719c.tar.gz gentoo-491bf8bd3ef621da49b168736a04f23aa4c7719c.tar.bz2 gentoo-491bf8bd3ef621da49b168736a04f23aa4c7719c.zip |
sys-libs/zlib: drop macro renaming hacks
Renaming zlib's `OF()` macro has caused problems for various packages; fortunately
C23 kills K&R prototypes so its use should be dying out anyway. If anyone is still
using it, we should just patch it out entirely rather than renaming it.
Other distros have been coping fine without the rename anyway. The most important
point being that this is against POLA and leads to problems when people try to build
things using zlib that haven't been fixed yet.
See also the legendary godot patch to workaround this:
https://github.com/godotengine/godot/blob/93409b8e64a9bc3c271ab4a7489b59a43bc0d048/thirdparty/minizip/patches/unbreak-gentoo.patch.
As of zlib-1.3, zlib doesn't even use it by itself.
Bug: https://bugs.gentoo.org/383179
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/package.mask | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/package.mask b/profiles/package.mask index 45d226c46a68..e9de29d6524b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -34,8 +34,8 @@ #--- END OF EXAMPLES --- # Sam James <sam@gentoo.org> (2023-08-18) -# Masked for testing. Breaks pigz at least: https://github.com/madler/pigz/issues/111. -=sys-libs/zlib-1.3 +# Masked for testing. +=sys-libs/zlib-1.3-r1 # Jonas Stein <jstein@gentoo.org> (2023-08-17) # Upstream warns that it is broken and there is no fix since 2010 |