summaryrefslogtreecommitdiff
path: root/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch')
-rw-r--r--dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch b/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch
new file mode 100644
index 000000000000..cc1274af4eb7
--- /dev/null
+++ b/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch
@@ -0,0 +1,25 @@
+From 96dd5b512e7761626b6924df471bfec50983eeb7 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 14 May 2020 02:39:16 +1200
+Subject: Abort with a non-zero exit code
+
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index d7a6d49..8960261 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -99,7 +99,7 @@ my %cairo_cfg;
+ eval { %cairo_cfg = ExtUtils::PkgConfig->find ("cairo >= $extreqs{cairo}"); };
+ if ($@ ne '') {
+ warn $@;
+- exit 0;
++ exit 1;
+ }
+
+ my %objects = (
+--
+2.26.2
+