freebsd-ports/textproc/eqe/files/patch-src-eqedit
Dmitry Marakasov 12e74ce7fc - Add LICENSE
- Add NO_ARCH
- Switch to options helpers
- Regenerate patches with `make makepatch`
2015-11-17 11:35:11 +00:00

25 lines
820 B
Text

--- src/eqedit.orig 2015-11-11 17:56:50 UTC
+++ src/eqedit
@@ -364,10 +364,10 @@ exit 0;
sub command
{
- my @com = @_; #(@_, " >> $options->{log} 2>\&1");
+ my @com = (@_, " >> $options->{log} 2>\&1");
my $com = join ' ', @com;
- $options->verbose and mywarn "executing $com\n";
- redirect_to_log($options->{log}, sub {system @com}) and mydie "command '$com' failed with error code $?";
+ $options->verbose and print "executing $com\n";
+ system $com and mydie "command '$com' failed with error code $?";
}
sub find_template
@@ -506,7 +506,7 @@ sub convert
if (@transparent or @res or not same_ext($in, $out))
{
- command 'convert', '-comment', $comment, @res, @transparent, $in, $out;
+ command 'convert', @res, @transparent, $in, $out;
}
elsif ($in ne $out)
{