From 2a77526d6c5d7389d44325ae42f3c3c3ed5f48bf Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 28 Jan 2012 19:29:28 +0000 Subject: - Fix build with clang PR: 164381 Submitted by: Andrew Clarke --- editors/uemacs/files/patch-src_eval.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 editors/uemacs/files/patch-src_eval.c (limited to 'editors') diff --git a/editors/uemacs/files/patch-src_eval.c b/editors/uemacs/files/patch-src_eval.c new file mode 100644 index 000000000000..fc48ff84f61f --- /dev/null +++ b/editors/uemacs/files/patch-src_eval.c @@ -0,0 +1,26 @@ + + +Patch attached with submission follows: + +--- /usr/ports/editors/uemacs/work/src/eval.c 1996-01-02 20:13:24.000000000 +1100 ++++ src/eval.c 2012-01-23 06:07:26.878469857 +1100 +@@ -1480,7 +1480,7 @@ + /* if we are turning this facility off, just flag so */ + if (wclist == NULL || *wclist == 0) { + wlflag = FALSE; +- return; ++ return NULL; + } + + /* first clear the table */ +@@ -1492,7 +1492,7 @@ + while (*wclist) + wordlist[(unsigned char)(*wclist++)] = TRUE; /* ep */ + wlflag = TRUE; +- return; ++ return NULL; + } + + /* getwlist: place in a buffer a list of characters + + -- cgit v1.2.3