aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/coco/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 11:42:49 +0800
committerkris <kris@FreeBSD.org>2002-09-05 11:42:49 +0800
commite4c32bb76cbea9d73ed0fcfc8a9e296a5e71f351 (patch)
tree5bac7dae89662a6b4dd082c9ac6b1a85fa83b5b2 /textproc/coco/files
parentc390fcabe153da6e77a970158e46b8acd852f1e2 (diff)
downloadfreebsd-ports-gnome-e4c32bb76cbea9d73ed0fcfc8a9e296a5e71f351.tar.gz
freebsd-ports-gnome-e4c32bb76cbea9d73ed0fcfc8a9e296a5e71f351.tar.zst
freebsd-ports-gnome-e4c32bb76cbea9d73ed0fcfc8a9e296a5e71f351.zip
Fix build on -current by not duplicating bogus declarations from system
headers.
Diffstat (limited to 'textproc/coco/files')
-rw-r--r--textproc/coco/files/patch-src_emacs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/coco/files/patch-src_emacs.c b/textproc/coco/files/patch-src_emacs.c
new file mode 100644
index 000000000000..8f1d4926dd9b
--- /dev/null
+++ b/textproc/coco/files/patch-src_emacs.c
@@ -0,0 +1,11 @@
+--- src/emacs.c.orig Wed Sep 4 20:33:38 2002
++++ src/emacs.c Wed Sep 4 20:33:40 2002
+@@ -510,8 +510,6 @@
+ {
+ char stack_bottom_variable;
+ int skip_args = 0;
+- extern int errno;
+- extern sys_nerr;
+
+ #ifdef LINUX_SBRK_BUG
+ __sbrk (1);