summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-04-24 04:23:20 +1200
committerKent Fredric <kentnl@gentoo.org>2020-04-24 04:24:41 +1200
commit5fa81d5f19553dd6488275402988d2856c58932b (patch)
treeb46c81164618f03ee3c5038ffb9ae5f08b8aa4f1 /dev-perl/Alien-SDL/files
parentsys-cluster/cinder: just remove oauth2client (diff)
downloadgentoo-5fa81d5f19553dd6488275402988d2856c58932b.tar.gz
gentoo-5fa81d5f19553dd6488275402988d2856c58932b.tar.bz2
gentoo-5fa81d5f19553dd6488275402988d2856c58932b.zip
dev-perl/Alien-SDL: -r bump for EAPI7
Also has to fix bug #719074 as EAPI7-ification adds .packlist to the install, which breaks subsequent reinstalls due to misguided "nuke existing share dir" logic targeted at CPAN. And although this issue is fixed for -r1, attempts to downgrade to -r0 will rexperience this bug, even though -r0 didn't typically have the problem on self-reinstallation ... due to not shipping the .packlist due to EAPI < 6 A true downgrade requires running some kind of emerge -C operation to remove the sharedirs, before installing the older version. Subsequently, this issue can *only* be considered fixed once -r0 is removed. Bug: https://bugs.gentoo.org/719074 Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Alien-SDL/files')
-rw-r--r--dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-no-sysclean.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-no-sysclean.patch b/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-no-sysclean.patch
new file mode 100644
index 000000000000..5c4153f3a664
--- /dev/null
+++ b/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-no-sysclean.patch
@@ -0,0 +1,33 @@
+From 8d36c877d2528cb8634219949730767b0e6e5150 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Fri, 24 Apr 2020 03:44:51 +1200
+Subject: Remove sharedir nuking logic.
+
+This breaks install on Gentoo, as it tries to remove the *system*
+share_dir *before* Gentoo gets around to things.
+
+And this code is basically redundant because Gentoo assurces cruft
+entries in share will get removed, which is not something people using
+CPAN clients can expect.
+
+https://bugs.gentoo.org/719074
+---
+ inc/My/Builder.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/inc/My/Builder.pm b/inc/My/Builder.pm
+index 6f5a97e..f101beb 100644
+--- a/inc/My/Builder.pm
++++ b/inc/My/Builder.pm
+@@ -47,7 +47,7 @@ sub ACTION_install
+
+ $sharedir = eval {File::ShareDir::dist_dir('Alien-SDL')} || '';
+
+- if ( -d $sharedir )
++ if ( 0 )
+ {
+ print "Removing the old $sharedir \n";
+ remove_tree($sharedir);
+--
+2.26.2
+