summaryrefslogtreecommitdiff
path: root/dev-perl/Crypt-Cracklib/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Crypt-Cracklib/files')
-rw-r--r--dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-CFLAGS-1.patch25
-rw-r--r--dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-no-dot-inc.patch21
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-CFLAGS-1.patch b/dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-CFLAGS-1.patch
new file mode 100644
index 000000000000..fbc5517efec0
--- /dev/null
+++ b/dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-CFLAGS-1.patch
@@ -0,0 +1,25 @@
+From 160ea833ef64916906c9334f7da12db3208293eb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
+Date: Wed, 16 Oct 2019 17:00:25 +1300
+Subject: Avoid clobbering CFLAGS in Makefile.pl
+
+Bug: https://bugs.gentoo.org/658000
+---
+ Makefile.PL | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 34f1008..6ede3a6 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -15,7 +15,6 @@ test_requires 'Test::More' => '0.47';
+ requires_external_cc();
+
+ cc_lib_links('crack');
+-cc_optimize_flags('-g -Wall -Werror');
+
+ auto_install();
+ WriteAll();
+--
+2.27.0
+
diff --git a/dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-no-dot-inc.patch b/dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-no-dot-inc.patch
new file mode 100644
index 000000000000..0af640bcf486
--- /dev/null
+++ b/dev-perl/Crypt-Cracklib/files/Crypt-Cracklib-1.7-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 8dd70878d095fa0b35b81ee6e21c2b1fc010b41b Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 1 Jul 2020 01:23:46 +1200
+Subject: Include '.' in @INC for perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 6ede3a6..d793c3b 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+
+ name('Crypt-Cracklib');
+--
+2.27.0
+