aboutsummaryrefslogtreecommitdiff
path: root/misc/dwdiff/doDiff.c.patch
diff options
context:
space:
mode:
authorslakmagik <slakmagik@gmail.com>2011-11-13 02:25:36 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-13 02:25:36 -0600
commit7ac98e752dd60739b4de47cefdeb43299bfabdae (patch)
tree72bfe2d8e911886971ca95f55df6892f67d5ffd6 /misc/dwdiff/doDiff.c.patch
parentf87812f36781ff2c01cdd519351c7ce9ec54526f (diff)
misc/dwdiff: Updated for version 2.0.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/dwdiff/doDiff.c.patch')
-rw-r--r--misc/dwdiff/doDiff.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/dwdiff/doDiff.c.patch b/misc/dwdiff/doDiff.c.patch
new file mode 100644
index 0000000000000..fd2ffe6578320
--- /dev/null
+++ b/misc/dwdiff/doDiff.c.patch
@@ -0,0 +1,13 @@
+diff -Naurp dwdiff-2.0.1.orig/src/doDiff.c dwdiff-2.0.1/src/doDiff.c
+--- dwdiff-2.0.1.orig/src/doDiff.c 2011-10-26 14:32:22.000000000 -0400
++++ dwdiff-2.0.1/src/doDiff.c 2011-10-27 00:34:59.785336664 -0400
+@@ -190,7 +190,9 @@ static void handleNextWhitespace(InputFi
+ whitespace.
+ */
+ static void handleSynchronizedNextWhitespace(bool printNew) {
++#ifdef USE_UNICODE
+ static_assert(CRLF_GRAPHEME_CLUSTER_BREAK == 0);
++#endif
+
+ bool BValid = true;
+ unsigned int *lineNumberA, *lineNumberB;