aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-07-30 06:03:34 +0800
committernaddy <naddy@FreeBSD.org>2002-07-30 06:03:34 +0800
commit5803fb634aa41ce63b67da649d2702447aea7b51 (patch)
tree7a36b3e30d275986e9d49d4dd051502b965a60a0 /editors
parent893c6497114398da69be65352e66bcad3b5bfe6a (diff)
downloadfreebsd-ports-gnome-5803fb634aa41ce63b67da649d2702447aea7b51.tar.gz
freebsd-ports-gnome-5803fb634aa41ce63b67da649d2702447aea7b51.tar.zst
freebsd-ports-gnome-5803fb634aa41ce63b67da649d2702447aea7b51.zip
Fix build by removing declaration for deprecated and unreferenced
sys_nerr variable. PR: 39147 Submitted by: keramida Prodded by: des
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs20/files/patch-src_emacs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/emacs20/files/patch-src_emacs.c b/editors/emacs20/files/patch-src_emacs.c
new file mode 100644
index 000000000000..2e6ed6273985
--- /dev/null
+++ b/editors/emacs20/files/patch-src_emacs.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/emacs.c.orig Wed May 24 15:58:54 2000
++++ src/emacs.c Mon Jul 29 23:23:20 2002
+@@ -602,7 +602,6 @@
+ char stack_bottom_variable;
+ int skip_args = 0;
+ extern int errno;
+- extern int sys_nerr;
+ #ifdef HAVE_SETRLIMIT
+ struct rlimit rlim;
+ #endif