commit:     e6f771788160f79b3fdf6245d909e0bd4575c8e2
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 07:27:22 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 08:46:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f77178

dev-db/mydumper: correct PCRE dependencies

Upstream switched to a PCRE2 in version v0.18.1.1, see commit [1,2].
Therefore, this change corrects dependencies to a library which is
actually used in runtime. However, upstream removed remaining unused
pcre.h includes later in version v0.18.2.11, see commit [3], which makes
PCRE still implicitly required in buildtime for this stable version due
to lingering headers in the source.

I've decided to address the buildtime issue by adding libpcre as a
DEPEND, because I prefer not to modify the code of stable versions,
especially since the patch needed is quite large. Plus, users already
need both libpcre and libpcre2 installed to avoid buildtime failures
anyway. Moreover, the fixed version is already in the tree. We just have
to wait approprite time to stabilize it and then we can clean this one.

[1] 
https://github.com/mydumper/mydumper/commit/9de78071ae73b40bb972fcbdb328ad20fa562241
[2] 
https://github.com/mydumper/mydumper/commit/c098a1407e0f06cb447f0c730bf9f0badc8706e3
[3] 
https://github.com/mydumper/mydumper/commit/9e10f0083ea6419d17265a0bb82453be0cadb633

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 .../{mydumper-0.18.2.7.ebuild => mydumper-0.18.2.7-r1.ebuild}    | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-db/mydumper/mydumper-0.18.2.7.ebuild 
b/dev-db/mydumper/mydumper-0.18.2.7-r1.ebuild
similarity index 89%
rename from dev-db/mydumper/mydumper-0.18.2.7.ebuild
rename to dev-db/mydumper/mydumper-0.18.2.7-r1.ebuild
index 0bbba034b230..018ad6910650 100644
--- a/dev-db/mydumper/mydumper-0.18.2.7.ebuild
+++ b/dev-db/mydumper/mydumper-0.18.2.7-r1.ebuild
@@ -24,11 +24,16 @@ RDEPEND="
        app-arch/zstd
        dev-db/mysql-connector-c:=
        dev-libs/glib:2
-       dev-libs/libpcre
+       dev-libs/libpcre2:=
        dev-libs/openssl:=
        sys-libs/zlib
 "
-DEPEND="${RDEPEND}"
+
+# this version uses libpcre2 but upstream forgot to remove old libpcre
+# includes, therefore we need to have it available in build time.
+DEPEND="${RDEPEND}
+       dev-libs/libpcre
+"
 BDEPEND="
        virtual/pkgconfig
        doc? (

Reply via email to