openbsd-ports/devel/libsigsegv/patches/patch-configure
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

15 lines
560 B
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
--- configure.orig Mon Jul 9 18:24:03 2007
+++ configure Mon Jul 9 18:26:10 2007
@@ -22605,8 +22605,8 @@ if test -z "$CFG_FAULT" && test "$sv_cv_fault_posix" =
case "$host_os" in
openbsd*)
case "$host_cpu" in
- i?86 | x86_64) CFG_FAULT=fault-openbsd-i386.h ;;
- *) CFG_FAULT=fault-openbsd.h ;;
+ x86_64) CFG_FAULT=fault-openbsd-amd64.h ;;
+ *) CFG_FAULT=fault-openbsd-$host_cpu.h ;;
esac
FAULT_CONTEXT='struct sigcontext'
;;