freebsd-ports/devel/libmaa/files/patch-strtol.c
Chin-San Huang d49664bae7 The LIBMAA library provides many low-level data structures which are
helpful for writing compilers, including hash tables, sets, lists,
debugging support, and memory management.  Although LIBMAA was
designed and implemented as a foundation for the Khepera
Transformation System, the data structures are generally applicable to
a wide range of programming problems.

The memory management routines are especially helpful for improving the
performance of memory-intensive applications.

WWW: http://www.dict.org/
2008-01-26 05:39:51 +00:00

11 lines
282 B
C

--- strtol.c.orig 1995-08-25 12:59:08.000000000 +0800
+++ strtol.c 2008-01-26 13:15:27.000000000 +0800
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <errno.h>
-#ifdef __sparc__
+#if defined(__sparc) && !defined(__FreeBSD__)
extern int errno;
extern int toupper(int);
#endif