summaryrefslogtreecommitdiff
path: root/textproc/eqe/files/patch-src-eqedit
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-18 14:03:32 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-18 14:03:32 +0000
commit6cc83f14683048478be1ee4c12de3e41339fe110 (patch)
treed5939c6c4f3ae396a7919da0d0e9a86da3b5c036 /textproc/eqe/files/patch-src-eqedit
parent- Distfiles rerolled. Changes are (diff)
Add eqe 1.3.0, LaTeX equation editor.
PR: ports/109216 Submitted by: chinsan
Notes
Notes: svn path=/head/; revision=185439
Diffstat (limited to 'textproc/eqe/files/patch-src-eqedit')
-rw-r--r--textproc/eqe/files/patch-src-eqedit25
1 files changed, 25 insertions, 0 deletions
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)
+ {