From d82e8eb2d91612ad6615a4f3bce2d19b25d97fd0 Mon Sep 17 00:00:00 2001 From: wennmach Date: Wed, 26 Jul 2000 12:07:15 +0000 Subject: Fix chkpt on NetBSD/sparc. STACK_BASE was incorrectly defined. --- devel/chkpt/patches/patch-ab | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/chkpt/patches/patch-ab (limited to 'devel') diff --git a/devel/chkpt/patches/patch-ab b/devel/chkpt/patches/patch-ab new file mode 100644 index 00000000000..49ad9cc5d29 --- /dev/null +++ b/devel/chkpt/patches/patch-ab @@ -0,0 +1,11 @@ +--- 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 + #undef STACK_BASE +-#define STACK_BASE - sizeof(struct frame) ++#define STACK_BASE (void *)(alloca(0) - sizeof(struct frame)) + endif + #endif /* __NetBSD__ */ + -- cgit v1.2.3