openbsd-ports/devel/libsigsegv/patches/patch-src_fault-openbsd-hppa_h
landry a2bd8e8fc3 Allow libsigsegv to build on hppa, thus allowing bash and rarian and a
shitload of gnome stuff to build. Hints from kettenis@ for the sp register.
ok espie@ jasper@

while is unlocked ports only for those informed have been.
2010-02-23 22:51:46 +00:00

8 lines
292 B
Plaintext

$OpenBSD: patch-src_fault-openbsd-hppa_h,v 1.1 2010/02/23 22:51:46 landry Exp $
--- src/fault-openbsd-hppa.h.orig Fri Jun 29 00:21:18 2007
+++ src/fault-openbsd-hppa.h Fri Jun 29 00:22:15 2007
@@ -0,0 +1,3 @@
+#include "fault-openbsd.h"
+
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_regs[30]