freebsd-ports/www/foswiki/files/patch-minifyjs
Sergey Skvortsov bb021ed644 - Update to 1.1.2
- Enable OPTINT by default
- Take maintainership

Changes:	http://foswiki.org/System/ReleaseNotes01x01#Release01x01Changes
PR:		ports/155060
Submitted by:	skv
2011-03-20 19:58:09 +00:00

11 lines
295 B
Text

--- tools/minifyjs
+++ tools/minifyjs
@@ -2,7 +2,7 @@
BEGIN {
unshift @INC, $ENV{FOSWIKICPAN} if defined $ENV{FOSWIKICPAN};
}
-use JavaScript::Minifier qw(minify);
+use JavaScript::Minifier::XS qw(minify);
foreach my $file (@ARGV) {
open(INFILE, $file) or die "failed opening $file";