1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/otrs/files/patch-Kernel-System-Loader.pm
Philip M. Gollucci af3609454e www/otrs: update 3.3.11 -> 4.0.8
- Set NO_ARCH
- Switch to OPTION helpers
- Regen patches with makepatch

PR:                  200761
Submitted by:        m.tsatsenko@gmail.com (maintainer)
2015-07-10 03:35:34 +00:00

32 lines
854 B
Perl

--- Kernel/System/Loader.pm.orig 2015-05-11 14:29:06 UTC
+++ Kernel/System/Loader.pm
@@ -12,8 +12,8 @@ package Kernel::System::Loader;
use strict;
use warnings;
-use CSS::Minifier qw();
-use JavaScript::Minifier qw();
+use CSS::Minifier::XS qw();
+use JavaScript::Minifier::XS qw();
our @ObjectDependencies = (
'Kernel::Config',
@@ -336,7 +336,7 @@ sub MinifyCSS {
return;
}
- my $Result = CSS::Minifier::minify( input => $Param{Code} );
+ my $Result = CSS::Minifier::XS::minify( $Param{Code} );
# a few optimizations can be made for the minified CSS that CSS::Minifier doesn't yet do
@@ -383,7 +383,7 @@ sub MinifyJavaScript {
return;
}
- return JavaScript::Minifier::minify( input => $Param{Code} );
+ return JavaScript::Minifier::XS::minify( $Param{Code} );
}
=item CacheGenerate()