]> git.decadent.org.uk Git - maypole.git/blob - debian/patches/201_no-file-mmagic-xs.diff
5383e73b5b010ed748f3e7349f0e28e6c6c1fecc
[maypole.git] / debian / patches / 201_no-file-mmagic-xs.diff
1 --- maypole.orig/lib/Maypole.pm
2 +++ maypole/lib/Maypole.pm
3 @@ -10,10 +10,10 @@
4  use URI();
5  use URI::QueryParam;
6  use NEXT;
7 -use File::MMagic::XS qw(:compat);
8 +use File::MMagic;
9  
10  our $VERSION = '2.111';
11 -our $mmagic = File::MMagic::XS->new();
12 +our $mmagic = File::MMagic->new();
13  
14  # proposed privacy conventions:
15  # - no leading underscore     - public to custom application code and plugins
16 --- maypole.orig/Makefile.PL
17 +++ maypole/Makefile.PL
18 @@ -29,7 +29,7 @@
19          Template::Plugin::Class          => 0,
20          Test::MockModule                 => 0,
21          Digest::MD5                     => 0,
22 -       File::MMagic::XS                 => 0.08,
23 +       File::MMagic                     => 1.21,
24         Class::DBI::Plugin::Type         => 0,
25      },    # e.g., Module::Name => 1.1
26      (