From: Ben Hutchings Date: Mon, 20 Aug 2007 21:28:38 +0000 (+0000) Subject: Added patch to use File::MMagic (no XS). X-Git-Tag: 2.11+2.111-1~14 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5e62e866ac07f2df5d2616585319e5ddb6e61537;p=maypole.git Added patch to use File::MMagic (no XS). --- diff --git a/debian/patches/201_no-file-mmagic-xs.diff b/debian/patches/201_no-file-mmagic-xs.diff new file mode 100644 index 0000000..5383e73 --- /dev/null +++ b/debian/patches/201_no-file-mmagic-xs.diff @@ -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 + ( diff --git a/debian/patches/series b/debian/patches/series index e69de29..0e61931 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +201_no-file-mmagic-xs.diff