Created
July 21, 2021 15:44
-
-
Save tormath1/06c70ef8dd39f9d44f114a3c8499e7ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From dacbed2586288c5040e61c2856f455f64c35d39c Mon Sep 17 00:00:00 2001 | |
From: Mathieu Tortuyaux <[email protected]> | |
Date: Tue, 20 Jul 2021 14:07:48 +0200 | |
Subject: [PATCH] dev-lang/perl: apply tmp flatcar changes | |
temporary patch to fix https://github.com/Perl/perl5/issues/10651#issuecomment-882722892 | |
Signed-off-by: Mathieu Tortuyaux <[email protected]> | |
--- | |
dev-lang/perl/files/define.patch | 11 +++++++++++ | |
dev-lang/perl/perl-5.32.1.ebuild | 4 ++++ | |
2 files changed, 15 insertions(+) | |
create mode 100644 dev-lang/perl/files/define.patch | |
diff --git a/dev-lang/perl/files/define.patch b/dev-lang/perl/files/define.patch | |
new file mode 100644 | |
index 000000000..20f2f0cf2 | |
--- /dev/null | |
+++ b/dev-lang/perl/files/define.patch | |
@@ -0,0 +1,11 @@ | |
+--- patches/0030-Add-support-for-Dgentoolibdirs.patch | |
++++ patches/0030-Add-support-for-Dgentoolibdirs.patch | |
+@@ -173,7 +173,7 @@ index 08c5923ef8..5563082969 100755 | |
+ +/* GENTOO_LIBDIRS: | |
+ + * Like PERL_OTHERLIBDIRS, but doesn't stuff ARCH dirs in when not wanted | |
+ + */ | |
+-+#$d_gentoolibdirs GENTOO_LIBDIRS "$gentoolibdirs" /**/ | |
+++#define GENTOO_LIBDIRS "$gentoolibdirs" /**/ | |
+ + | |
+ /* PRIVLIB: | |
+ * This symbol contains the name of the private library for this package. | |
diff --git a/dev-lang/perl/perl-5.32.1.ebuild b/dev-lang/perl/perl-5.32.1.ebuild | |
index fb05085f0..701552d83 100644 | |
--- a/dev-lang/perl/perl-5.32.1.ebuild | |
+++ b/dev-lang/perl/perl-5.32.1.ebuild | |
@@ -260,6 +260,7 @@ src_remove_dual() { | |
src_prepare_perlcross() { | |
cp -a ../perl-cross-${CROSS_VER}/* . || die | |
+ | |
# bug 604072 | |
MAKEOPTS+=" -j1" | |
export MAKEOPTS | |
@@ -358,6 +359,9 @@ apply_patchdir() { | |
sort -n | |
)) | |
+ pushd "${WORKDIR}"/patches | |
+ eapply ${FILESDIR}/define.patch | |
+ popd | |
for patch in "${PERL_PATCHES[@]}"; do | |
eapply "${WORKDIR}"/patches/${patch} | |
done | |
-- | |
2.31.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment