[SCM] Debian packaging of libfile-libmagic-perl branch, master, updated. debian/0.96-2-2-gcf13c32

Alessandro Ghedini al3xbio at gmail.com
Wed Aug 8 13:13:19 UTC 2012


The following commit has been merged in the master branch:
commit fe01b11d46d0ae726c755d68201d747717951e7f
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Tue Aug 7 22:53:05 2012 +0200

    Add fix-checklib-fail.patch

diff --git a/debian/patches/fix-checklib-fail.patch b/debian/patches/fix-checklib-fail.patch
new file mode 100644
index 0000000..767b277
--- /dev/null
+++ b/debian/patches/fix-checklib-fail.patch
@@ -0,0 +1,18 @@
+Description: Trigger build failure when libmagic is not found
+Origin: vendor
+Forwarded: not-needed
+Author: Alessandro Ghedini <ghedo at debian.org>
+Reviewed-by: Alessandro Ghedini <ghedo at debian.org>
+Last-Update: 2012-08-07
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -7,7 +7,7 @@
+ use lib qw(inc);
+ use Devel::CheckLib;
+ 
+-check_lib_or_exit( lib => 'magic', header => 'magic.h' );
++assert_lib( lib => 'magic', header => 'magic.h' );
+ 
+ WriteMakefile(
+     'NAME'		=> 'File::LibMagic',
diff --git a/debian/patches/series b/debian/patches/series
index a07c17b..457eb76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 do-not-link-libz.patch
 file-5.10.patch
+fix-checklib-fail.patch

-- 
Debian packaging of libfile-libmagic-perl



More information about the Pkg-perl-cvs-commits mailing list