diff options
author | MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org> | 2001-08-16 08:04:58 +0000 |
---|---|---|
committer | MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org> | 2001-08-16 08:04:58 +0000 |
commit | 35fef80e21c30f06d929ccafc3b37a85db2069ad (patch) | |
tree | 50d013ca19bf87b7a5c8193268c9f0493bbd6de1 /textproc/wdiff | |
parent | Support %%PORTDOCS%%. (diff) |
Fix enviroment variable `DIFF_OPTIONS' problem
Fix --ignore-case option
That port fails to work when DIFF_OPTIONS is set to something like "-u"
and the "-i" option to wdiff also fails to work (not the -i option is
not in the man page but it is in the NEWS file).
Submitted by: Dave Chapeskie <dchapes@ddm.crosswinds.net>
Notes
Notes:
svn path=/head/; revision=46304
Diffstat (limited to 'textproc/wdiff')
-rw-r--r-- | textproc/wdiff/Makefile | 1 | ||||
-rw-r--r-- | textproc/wdiff/files/patch-ac | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/textproc/wdiff/Makefile b/textproc/wdiff/Makefile index d86f640ff1c7..a12dffa7107a 100644 --- a/textproc/wdiff/Makefile +++ b/textproc/wdiff/Makefile @@ -7,6 +7,7 @@ PORTNAME= wdiff PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= wdiff diff --git a/textproc/wdiff/files/patch-ac b/textproc/wdiff/files/patch-ac new file mode 100644 index 000000000000..4e309c03fc93 --- /dev/null +++ b/textproc/wdiff/files/patch-ac @@ -0,0 +1,13 @@ +--- wdiff.c.orig Sun Nov 6 02:57:23 1994 ++++ wdiff.c Wed Aug 1 16:48:38 2001 +@@ -892,8 +892,9 @@ + { + /* Launch the diff program. */ + ++ unsetenv ("DIFF_OPTIONS"); + if (ignore_case) +- input_file = readpipe (DIFF_PROGRAM, "-c", left_side->temp_name, ++ input_file = readpipe (DIFF_PROGRAM, "-i", left_side->temp_name, + right_side->temp_name, NULL); + else + input_file = readpipe (DIFF_PROGRAM, left_side->temp_name, |