commit:     1ed5731d7c4b3b3244e32c4c1950b04f2bfbcae6
Author:     Matija Skala <mskala <AT> gmx <DOT> com>
AuthorDate: Sat Nov 22 21:06:38 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 07:46:15 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed5731d

sys-apps/man-db: disable compile time detection of compression types

[sam: Add Closes.]

Closes: https://bugs.gentoo.org/705002
Signed-off-by: Matija Skala <mskala <AT> gmx.com>
Part-of: https://github.com/gentoo/gentoo/pull/44732
Closes: https://github.com/gentoo/gentoo/pull/44732
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/man-db/Manifest                                      |  2 ++
 .../man-db/{man-db-2.13.1.ebuild => man-db-2.13.0-r1.ebuild}  | 11 +++++++++++
 .../man-db/{man-db-2.13.1.ebuild => man-db-2.13.1-r1.ebuild}  | 11 +++++++++++
 sys-apps/man-db/man-db-9999.ebuild                            | 11 +++++++++++
 4 files changed, 35 insertions(+)

diff --git a/sys-apps/man-db/Manifest b/sys-apps/man-db/Manifest
index 44005db4d541..3e3638709efc 100644
--- a/sys-apps/man-db/Manifest
+++ b/sys-apps/man-db/Manifest
@@ -1,2 +1,4 @@
+DIST man-db-2.13.0.tar.xz 2071032 BLAKE2B 
7ce91a7abc6d3bbd92d4707f13caacd8ab5caee0502a2b115f8aa53f4d38df05b0e03346f70584618cce6f5457113e826828a02b847bff57abd6ba6ec1b2d407
 SHA512 
612ce39bb1e11aa7797e8e3a26f06a7154c48a13b2d74217c2c6701e0d33fa8f77ae2b8c9ee84353e364d16918f884115f2dfbf3cd743edd4ed32b763b87f723
+DIST man-db-2.13.0.tar.xz.asc 833 BLAKE2B 
2ee37709b9dddc26c6aae5d4900dad51194824d33ede5b886b0365f1f1bf76375d8d581c90fbf109f3e9e467f21daee73c1cf2ad8ab292ffd557e5d286705d6d
 SHA512 
483fb32f731f6135f9843faec4148048321aa8ac8a38ea6fac463f1addba47c827be6e1a6daefc11ca6cc33630dc939162e91620df5f9a2e443cadd607dbd8bd
 DIST man-db-2.13.1.tar.xz 2110328 BLAKE2B 
f0f61bbd91992e2be8343459addca4bb9892ad4887756a1e58e8dccf71d30fd4bfd105739f1c730d7e73088825508566c9c29e74a59d78453055db25c7a929c6
 SHA512 
9b39f512fe940e648ca7f47803f42e473064253b67eb96995d28da30fd322de31a4466bf821e9391e6041af2318a6d2c2d74102b73f4b42a63966b41d2df0578
 DIST man-db-2.13.1.tar.xz.asc 833 BLAKE2B 
5d124dab7af731e78a9e7e04b7949eef580e8c4e25b30a18092cbf6b84329bc776038d330926c6757c41910773de4e7d2a4fae21d904268614e95637699ca158
 SHA512 
0d7f5b58430ce779261f68517c212b0517485300d8ea3d6a8232b0ac6c892671346ce7a4f4c6621b512516ca4c70bc09d5d828ed54a2a27c30ca70d3c77f7cdd

diff --git a/sys-apps/man-db/man-db-2.13.1.ebuild 
b/sys-apps/man-db/man-db-2.13.0-r1.ebuild
similarity index 94%
copy from sys-apps/man-db/man-db-2.13.1.ebuild
copy to sys-apps/man-db/man-db-2.13.0-r1.ebuild
index a0715f8c289d..ba959d8e68c5 100644
--- a/sys-apps/man-db/man-db-2.13.1.ebuild
+++ b/sys-apps/man-db/man-db-2.13.0-r1.ebuild
@@ -141,6 +141,17 @@ src_configure() {
                $(use_with seccomp libseccomp)
 
                --with-db=gdbm
+
+               # Explicitly enable all types of compression
+               # so they aren't disabled automagically.
+               # The configure script by default only enables a
+               # compressor if it is present at compile time.
+               --with-gzip=gzip
+               --with-compress=compress
+               --with-bzip2=bzip2
+               --with-xz=xz
+               --with-lzip=lzip
+               --with-zstd=zstd
        )
 
        case ${CHOST} in

diff --git a/sys-apps/man-db/man-db-2.13.1.ebuild 
b/sys-apps/man-db/man-db-2.13.1-r1.ebuild
similarity index 94%
rename from sys-apps/man-db/man-db-2.13.1.ebuild
rename to sys-apps/man-db/man-db-2.13.1-r1.ebuild
index a0715f8c289d..ba959d8e68c5 100644
--- a/sys-apps/man-db/man-db-2.13.1.ebuild
+++ b/sys-apps/man-db/man-db-2.13.1-r1.ebuild
@@ -141,6 +141,17 @@ src_configure() {
                $(use_with seccomp libseccomp)
 
                --with-db=gdbm
+
+               # Explicitly enable all types of compression
+               # so they aren't disabled automagically.
+               # The configure script by default only enables a
+               # compressor if it is present at compile time.
+               --with-gzip=gzip
+               --with-compress=compress
+               --with-bzip2=bzip2
+               --with-xz=xz
+               --with-lzip=lzip
+               --with-zstd=zstd
        )
 
        case ${CHOST} in

diff --git a/sys-apps/man-db/man-db-9999.ebuild 
b/sys-apps/man-db/man-db-9999.ebuild
index 2a010cdec022..f9b325c7704d 100644
--- a/sys-apps/man-db/man-db-9999.ebuild
+++ b/sys-apps/man-db/man-db-9999.ebuild
@@ -141,6 +141,17 @@ src_configure() {
                $(use_with seccomp libseccomp)
 
                --with-db=gdbm
+
+               # Explicitly enable all types of compression
+               # so they aren't disabled automagically.
+               # The configure script by default only enables a
+               # compressor if it is present at compile time.
+               --with-gzip=gzip
+               --with-compress=compress
+               --with-bzip2=bzip2
+               --with-xz=xz
+               --with-lzip=lzip
+               --with-zstd=zstd
        )
 
        case ${CHOST} in

Reply via email to