summaryrefslogtreecommitdiff
path: root/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch
blob: cc1274af4eb713e5edb5619071ba14e2180d6e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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