diff options
author | sanpei <sanpei@FreeBSD.org> | 2001-08-16 16:04:58 +0800 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2001-08-16 16:04:58 +0800 |
commit | 8a123794aac2990db11220e637efe8b2196c50a8 (patch) | |
tree | e0b84353c000ead9b53501f5b7d9ddf98383101f /textproc | |
parent | 648b2e63fb261d6d05cacd17ad6c4b4c2287d215 (diff) | |
download | freebsd-ports-gnome-8a123794aac2990db11220e637efe8b2196c50a8.tar.gz freebsd-ports-gnome-8a123794aac2990db11220e637efe8b2196c50a8.tar.zst freebsd-ports-gnome-8a123794aac2990db11220e637efe8b2196c50a8.zip |
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>
Diffstat (limited to 'textproc')
-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, |