]> git.decadent.org.uk Git - maypole.git/commitdiff
Added patch to use File::MMagic (no XS).
authorBen Hutchings <ben@decadent.org.uk>
Mon, 20 Aug 2007 21:28:38 +0000 (21:28 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 4 Nov 2008 03:32:54 +0000 (03:32 +0000)
debian/patches/201_no-file-mmagic-xs.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/201_no-file-mmagic-xs.diff b/debian/patches/201_no-file-mmagic-xs.diff
new file mode 100644 (file)
index 0000000..5383e73
--- /dev/null
@@ -0,0 +1,26 @@
+--- maypole.orig/lib/Maypole.pm
++++ maypole/lib/Maypole.pm
+@@ -10,10 +10,10 @@
+ use URI();
+ use URI::QueryParam;
+ use NEXT;
+-use File::MMagic::XS qw(:compat);
++use File::MMagic;
+ our $VERSION = '2.111';
+-our $mmagic = File::MMagic::XS->new();
++our $mmagic = File::MMagic->new();
+ # proposed privacy conventions:
+ # - no leading underscore     - public to custom application code and plugins
+--- maypole.orig/Makefile.PL
++++ maypole/Makefile.PL
+@@ -29,7 +29,7 @@
+         Template::Plugin::Class          => 0,
+         Test::MockModule                 => 0,
+         Digest::MD5                    => 0,
+-      File::MMagic::XS                 => 0.08,
++      File::MMagic                     => 1.21,
+       Class::DBI::Plugin::Type         => 0,
+     },    # e.g., Module::Name => 1.1
+     (
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0e61931844a747b0e1ce5c29dc50cf1bfd564ebc 100644 (file)
@@ -0,0 +1 @@
+201_no-file-mmagic-xs.diff