openbsd-ports/devel/libsigsegv/patches/patch-src_fault-openbsd-sparc_h
jasper d36a5b8830 import libsigsegv 2.4
This is a library for handling page faults in user mode. A page fault
occurs when a program tries to access to a region of memory that is
currently not available. Catching and handling a page fault is a useful
technique for implementing:

    * pageable virtual memory,
    * memory-mapped access to persistent databases,
    * generational garbage collectors,
    * stack overflow handlers,
    * distributed shared memory,

based on a submission by Scott Vokes <vokes.s at gmail.com> (MAINTAINER)
with lots of tweaks by me and kurt@

help and ok kurt@
2007-07-09 20:05:29 +00:00

8 lines
294 B
Plaintext

$OpenBSD: patch-src_fault-openbsd-sparc_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
--- src/fault-openbsd-sparc.h.orig Thu Jun 28 23:47:04 2007
+++ src/fault-openbsd-sparc.h Thu Jun 28 23:47:32 2007
@@ -0,0 +1,3 @@
+#include "fault-openbsd.h"
+
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp