pkgsrc/devel/chkpt/patches/patch-ab
itohy f49a23cdf0 - Fix rejected patch.
- RCS Id police.
2000-07-28 07:20:04 +00:00

13 lines
393 B
Text

$NetBSD: patch-ab,v 1.2 2000/07/28 07:20:05 itohy Exp $
--- include/addresses.h.orig Fri Jun 11 15:58:36 1999
+++ include/addresses.h Wed Jul 26 11:11:27 2000
@@ -61,7 +61,7 @@
#elif defined(__sparc__)
#include <machine/frame.h>
#undef STACK_BASE
-#define STACK_BASE - sizeof(struct frame)
+#define STACK_BASE (void *)(alloca(0) - sizeof(struct frame))
#endif
#endif /* __NetBSD__ */