pkgsrc/editors/mule/patches/patch-src_tparam_c
dholland 918e692115 Adjust the amd64 patch by crosschecking the existing header for alpha.
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.
2011-12-24 17:07:07 +00:00

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