pkgsrc/editors/mule/patches/patch-ai
joerg c05f839a89 Make this compile on DragonFly in the hope that also means that it is
as usable as Emacs can be.
Fix errno. Use ${LOWER_OPSYS} instead of hard-coded OS name and pass
the pass to canna lib to configure. The first fixes !NetBSD, the latter
triggers addition of rpath entries for libcanna.
2006-01-04 20:35:08 +00:00

22 lines
495 B
Text

$NetBSD: patch-ai,v 1.3 2006/01/04 20:35:08 joerg Exp $
--- src/floatfns.c.orig 1995-02-17 07:47:39.000000000 +0000
+++ src/floatfns.c
@@ -49,7 +49,7 @@ the Free Software Foundation, 675 Mass A
#include "lisp.h"
#include "syssignal.h"
-Lisp_Object Qarith_error;
+extern Lisp_Object Qarith_error;
#ifdef LISP_FLOAT_TYPE
@@ -103,8 +103,6 @@ extern double logb ();
#ifdef FLOAT_CHECK_ERRNO
# include <errno.h>
-
-extern int errno;
#endif
/* Avoid traps on VMS from sinh and cosh.