aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2001-08-16 16:04:58 +0800
committersanpei <sanpei@FreeBSD.org>2001-08-16 16:04:58 +0800
commit8a123794aac2990db11220e637efe8b2196c50a8 (patch)
treee0b84353c000ead9b53501f5b7d9ddf98383101f /textproc
parent648b2e63fb261d6d05cacd17ad6c4b4c2287d215 (diff)
downloadfreebsd-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/Makefile1
-rw-r--r--textproc/wdiff/files/patch-ac13
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,