summaryrefslogtreecommitdiff
path: root/editors/emacs/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/patches/patch-ar')
-rw-r--r--editors/emacs/patches/patch-ar14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-ar b/editors/emacs/patches/patch-ar
new file mode 100644
index 00000000000..971374bb6ac
--- /dev/null
+++ b/editors/emacs/patches/patch-ar
@@ -0,0 +1,14 @@
+$NetBSD: patch-ar,v 1.3 2005/12/29 13:56:51 joerg Exp $
+
+--- src/floatfns.c.orig 2005-12-29 13:31:17.000000000 +0000
++++ src/floatfns.c
+@@ -107,9 +107,6 @@ extern double logb ();
+ #ifdef FLOAT_CHECK_ERRNO
+ # include <errno.h>
+
+-#ifndef USE_CRT_DLL
+-extern int errno;
+-#endif
+ #endif
+
+ /* Avoid traps on VMS from sinh and cosh.