summaryrefslogtreecommitdiff
path: root/devel/libmaa/files/patch-strtol.c
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-01-26 05:39:51 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-01-26 05:39:51 +0000
commitd49664bae724c70263edf6453a30cd3407052a20 (patch)
tree4fe8db7b6ac958b5bc21d343f61b909693aafd3a /devel/libmaa/files/patch-strtol.c
parentClean up port descriptions for unmaintained ports in `astro' category: (diff)
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/
Diffstat (limited to 'devel/libmaa/files/patch-strtol.c')
-rw-r--r--devel/libmaa/files/patch-strtol.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libmaa/files/patch-strtol.c b/devel/libmaa/files/patch-strtol.c
new file mode 100644
index 000000000000..646f62676f57
--- /dev/null
+++ b/devel/libmaa/files/patch-strtol.c
@@ -0,0 +1,11 @@
+--- 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