summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg>2013-03-04 14:45:07 +0000
committerjoerg <joerg>2013-03-04 14:45:07 +0000
commit6378826990b137cb2a39772d7cecdb4a387271b5 (patch)
treef3bf3f7bc00452c8150bdf45c1104b3c39d52b6d /editors
parent6b7f4937dee70ea15df99c921ebcdfd4d061ef3d (diff)
downloadpkgsrc-6378826990b137cb2a39772d7cecdb4a387271b5.tar.gz
Add forgotten patch file to fix one more missing return value.
Diffstat (limited to 'editors')
-rw-r--r--editors/gate/patches/patch-subs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/gate/patches/patch-subs.c b/editors/gate/patches/patch-subs.c
new file mode 100644
index 00000000000..045528d6242
--- /dev/null
+++ b/editors/gate/patches/patch-subs.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-subs.c,v 1.1 2013/03/04 14:45:07 joerg Exp $
+
+--- subs.c.orig 2013-03-01 15:11:50.000000000 +0000
++++ 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);
+