commit:     27cca9bf1fd1d36ae3a736de7b7c9df00751604b
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat May  8 13:02:25 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May  8 13:03:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27cca9bf

www-apache/mod_perl: Fix build, bug 728554

Patch by  Chris Hall

Closes: https://bugs.gentoo.org/728554
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 www-apache/mod_perl/files/mod_perl-2.0.11-ranlib.patch | 11 +++++++++++
 www-apache/mod_perl/mod_perl-2.0.11.ebuild             |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/www-apache/mod_perl/files/mod_perl-2.0.11-ranlib.patch 
b/www-apache/mod_perl/files/mod_perl-2.0.11-ranlib.patch
new file mode 100644
index 00000000000..a8e9e303693
--- /dev/null
+++ b/www-apache/mod_perl/files/mod_perl-2.0.11-ranlib.patch
@@ -0,0 +1,11 @@
+--- ./lib/Apache2/Build.pm~    2019-10-05 12:04:39.000000000 +0100
++++ ./lib/Apache2/Build.pm     2020-10-28 19:20:40.809279091 +0000
+@@ -1664,7 +1664,7 @@
+ 
+     my $ranlib = "\t" . '$(MODPERL_RANLIB) $@' . "\n";
+ 
+-    $link .= "\n" . $ranlib unless (DARWIN or OPENBSD);
++    #$link .= "\n" . $ranlib unless (DARWIN or OPENBSD);
+ 
+     $link;
+ }

diff --git a/www-apache/mod_perl/mod_perl-2.0.11.ebuild 
b/www-apache/mod_perl/mod_perl-2.0.11.ebuild
index 014692d57e0..3248c243ac0 100644
--- a/www-apache/mod_perl/mod_perl-2.0.11.ebuild
+++ b/www-apache/mod_perl/mod_perl-2.0.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -61,6 +61,7 @@ PATCHES=(
        "${FILESDIR}/${PN}"-2.0.4-inline.patch        # 550244
        "${FILESDIR}/${PN}"-2.0.10_rc1-bundled-Apache-Test.patch # 352724
        "${FILESDIR}/${PN}"-2.0.10_rc1-Gentoo-not-Unix.patch
+       "${FILESDIR}/${PN}"-2.0.11-ranlib.patch       # 728554
 )
 
 src_prepare() {

Reply via email to