aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-09-03 16:01:20 +0800
committerkrion <krion@FreeBSD.org>2004-09-03 16:01:20 +0800
commit7e8c167e0b752bcc33906585a8303ecb1439b254 (patch)
treeac058eb67b34d489669123c2063bf90f5db789b7 /editors
parent3752b024dcdffcf246a05797c01289690a20594a (diff)
downloadfreebsd-ports-gnome-7e8c167e0b752bcc33906585a8303ecb1439b254.tar.gz
freebsd-ports-gnome-7e8c167e0b752bcc33906585a8303ecb1439b254.tar.zst
freebsd-ports-gnome-7e8c167e0b752bcc33906585a8303ecb1439b254.zip
Fix build on 4-x
PR: ports/71296 Submitted by: Ports Fury
Diffstat (limited to 'editors')
-rw-r--r--editors/aewan/files/patch-aeff.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/aewan/files/patch-aeff.c b/editors/aewan/files/patch-aeff.c
new file mode 100644
index 000000000000..0eb24d80994a
--- /dev/null
+++ b/editors/aewan/files/patch-aeff.c
@@ -0,0 +1,16 @@
+--- aeff.c.orig Wed Aug 11 10:04:50 2004
++++ aeff.c Thu Sep 2 23:56:24 2004
+@@ -187,11 +187,12 @@
+ static bool aeff_read_mark(AeFile *f, const char *mark_name, char pref) {
+ char *line;
+ char *s;
+- zfree(&err_string);
+
+ autod_begin;
+ autod_register(line, free);
+
++ zfree(&err_string);
++
+ autod_assign(line, freadline_ex(f->f, gzgetc));
+
+ /* if EOF was reached before anything could be read, something is wrong */