svn commit: r415380 - head/editors/gate/files

Antoine Brodin antoine at FreeBSD.org
Tue May 17 11:18:20 UTC 2016


Author: antoine
Date: Tue May 17 11:18:19 2016
New Revision: 415380
URL: https://svnweb.freebsd.org/changeset/ports/415380

Log:
  Fix build with clang

Modified:
  head/editors/gate/files/patch-spel.c

Modified: head/editors/gate/files/patch-spel.c
==============================================================================
--- head/editors/gate/files/patch-spel.c	Tue May 17 10:55:05 2016	(r415379)
+++ head/editors/gate/files/patch-spel.c	Tue May 17 11:18:19 2016	(r415380)
@@ -1,5 +1,14 @@
 --- spel.c.orig	2003-06-19 16:55:51 UTC
 +++ spel.c
+@@ -151,7 +151,7 @@ empty_repl()
+ /* ADD_REPL - Add the given replacement to the list of replacements.
+  * "replace" may be NULL to indicate that the word is to be ignored.
+  */
+-
++void
+ add_repl(char *word, int word_len, char *replace)
+ {
+     struct repl *r;
 @@ -683,7 +683,7 @@ int fix_word(char *line, int offset, int
      for(;;)
      {


More information about the svn-ports-head mailing list