aboutsummaryrefslogtreecommitdiff
path: root/editors/uemacs
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-01-28 19:29:28 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-01-28 19:29:28 +0000
commit2a77526d6c5d7389d44325ae42f3c3c3ed5f48bf (patch)
tree8726eb706b179c3f355d1adde1aa947cf6ddf8c6 /editors/uemacs
parente1bf900d78877aae0f464d421a41da1b55057026 (diff)
downloadports-2a77526d6c5d7389d44325ae42f3c3c3ed5f48bf.tar.gz
ports-2a77526d6c5d7389d44325ae42f3c3c3ed5f48bf.zip
- Fix build with clang
PR: 164381 Submitted by: Andrew Clarke <mail@ozzmosis.com>
Notes
Notes: svn path=/head/; revision=289978
Diffstat (limited to 'editors/uemacs')
-rw-r--r--editors/uemacs/files/patch-src_eval.c26
1 files changed, 26 insertions, 0 deletions
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
+
+