From 6cc83f14683048478be1ee4c12de3e41339fe110 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sun, 18 Feb 2007 14:03:32 +0000 Subject: Add eqe 1.3.0, LaTeX equation editor. PR: ports/109216 Submitted by: chinsan --- textproc/eqe/files/patch-src-eqedit | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 textproc/eqe/files/patch-src-eqedit (limited to 'textproc/eqe/files/patch-src-eqedit') diff --git a/textproc/eqe/files/patch-src-eqedit b/textproc/eqe/files/patch-src-eqedit new file mode 100644 index 000000000000..2d1b2b782924 --- /dev/null +++ b/textproc/eqe/files/patch-src-eqedit @@ -0,0 +1,25 @@ +--- src/eqedit.orig Fri Feb 16 21:52:49 2007 ++++ src/eqedit Fri Feb 16 23:54:34 2007 +@@ -364,10 +364,10 @@ + + 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 @@ + + 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) + { -- cgit v1.2.3