summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-07-26 12:07:15 +0000
committerwennmach <wennmach@pkgsrc.org>2000-07-26 12:07:15 +0000
commitd82e8eb2d91612ad6615a4f3bce2d19b25d97fd0 (patch)
treec360dc824910982db47b528189a525b03f39cd0f /devel
parent67e74c082dbdf27f0c5808f79c6e2f98cda03aad (diff)
downloadpkgsrc-d82e8eb2d91612ad6615a4f3bce2d19b25d97fd0.tar.gz
Fix chkpt on NetBSD/sparc.
STACK_BASE was incorrectly defined.
Diffstat (limited to 'devel')
-rw-r--r--devel/chkpt/patches/patch-ab11
1 files changed, 11 insertions, 0 deletions
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 <machine/frame.h>
+ #undef STACK_BASE
+-#define STACK_BASE - sizeof(struct frame)
++#define STACK_BASE (void *)(alloca(0) - sizeof(struct frame))
+ endif
+ #endif /* __NetBSD__ */
+