Patch extensive use of malloc and alloca without <stdlib.h> and some other stuff that showed up in the build log. Still crashes in temacs but it's getting much farther.
15 lines
328 B
Text
15 lines
328 B
Text
$NetBSD: patch-src_tparam_c,v 1.1 2011/12/24 17:07:08 dholland Exp $
|
|
|
|
- lp64 fixes
|
|
|
|
--- src/tparam.c~ 1995-02-17 07:58:11.000000000 +0000
|
|
+++ src/tparam.c
|
|
@@ -69,7 +69,7 @@ xrealloc (ptr, size)
|
|
return tem;
|
|
}
|
|
#else
|
|
-#ifdef OSF1
|
|
+#if defined(OSF1) || defined(_LP64)
|
|
extern long *xmalloc();
|
|
extern long *xrealloc();
|
|
#endif
|