File: fix-checklib-fail.patch

package info (click to toggle)
libopengl-xscreensaver-perl 0.05-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 120 kB
  • ctags: 15
  • sloc: perl: 318; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Trigger build failure when libx11 or gl are not found
Origin: vendor
Forwarded: not-needed
Author: Alessandro Ghedini <ghedo@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-12-21

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -4,7 +4,7 @@
 use lib qw(inc);
 use Devel::CheckLib;
 
-check_lib_or_exit(lib => ['X11', 'GL']);
+assert_lib(lib => ['X11', 'GL']);
 
 WriteMakefile(
 	NAME            => 'OpenGL::XScreenSaver',