svn commit: r320849 - in head/editors/gate: . files
William Grzybowski
wg at FreeBSD.org
Thu Jun 13 23:06:35 UTC 2013
Author: wg
Date: Thu Jun 13 23:06:34 2013
New Revision: 320849
URL: http://svnweb.freebsd.org/changeset/ports/320849
Log:
editors/gate: fix build with clang
- Fix build with clang
- Trim Makefile header
Approved by: culot / jpaetzel (mentors, implicit)
Added:
head/editors/gate/files/
head/editors/gate/files/patch-spel.c (contents, props changed)
head/editors/gate/files/patch-subs.c (contents, props changed)
Modified:
head/editors/gate/Makefile
Modified: head/editors/gate/Makefile
==============================================================================
--- head/editors/gate/Makefile Thu Jun 13 23:02:59 2013 (r320848)
+++ head/editors/gate/Makefile Thu Jun 13 23:06:34 2013 (r320849)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gate
-# Date created: 15 June 2000
-# Whom: James Howard
-#
+# Created by: James Howard
# $FreeBSD$
-#
PORTNAME= gate
PORTVERSION= 2.06
Added: head/editors/gate/files/patch-spel.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/gate/files/patch-spel.c Thu Jun 13 23:06:34 2013 (r320849)
@@ -0,0 +1,13 @@
+diff --git spel.c spel.c
+index 5c53256..1e9ad04 100644
+--- spel.c
++++ 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;
Added: head/editors/gate/files/patch-subs.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/gate/files/patch-subs.c Thu Jun 13 23:06:34 2013 (r320849)
@@ -0,0 +1,13 @@
+diff --git subs.c subs.c
+index 287d9d3..a6caea9 100644
+--- subs.c
++++ subs.c
+@@ -429,7 +429,7 @@ int cliplast(char *lastbuf, int bufsize)
+ #endif
+
+ /* Make a copy of the file */
+- if ((cfp= make_copy()) == NULL) return;
++ if ((cfp= make_copy()) == NULL) return 0;
+ fflush(cfp);
+ fseek(cfp,0L,0);
+
More information about the svn-ports-head
mailing list