Add support for landisk. Okay ajacoutot@.

This commit is contained in:
pirofti 2009-12-28 14:59:09 +00:00
parent e178717e16
commit aef8e086aa
2 changed files with 24 additions and 17 deletions

View File

@ -1,29 +1,29 @@
# $OpenBSD: Makefile,v 1.4 2007/12/19 13:15:53 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2009/12/28 14:59:09 pirofti Exp $
ONLY_FOR_ARCHS= alpha amd64 arm i386 m68k mips64 powerpc sparc64 sparc
ONLY_FOR_ARCHS = alpha amd64 arm i386 m68k mips64 powerpc sparc64 sparc sh
COMMENT= library for handling page faults in user mode
COMMENT = library for handling page faults in user mode
DISTNAME= libsigsegv-2.5
SHARED_LIBS= sigsegv 0.0
CATEGORIES= devel
HOMEPAGE= http://libsigsegv.sourceforge.net/
DISTNAME = libsigsegv-2.5
SHARED_LIBS = sigsegv 0.0
CATEGORIES = devel
HOMEPAGE = http://libsigsegv.sourceforge.net/
MAINTAINER= Scott Vokes <vokes.s@gmail.com>
MAINTAINER = Scott Vokes <vokes.s@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= ${MASTER_SITE_GNU:=libsigsegv/}
MASTER_SITES = ${MASTER_SITE_GNU:=libsigsegv/}
SEPARATE_BUILD= concurrent
SEPARATE_BUILD = concurrent
USE_LIBTOOL= Yes
USE_LIBTOOL = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
.include <bsd.port.mk>

View File

@ -0,0 +1,7 @@
$OpenBSD: patch-src_fault-openbsd-sh_h,v 1.1 2009/12/28 14:59:09 pirofti Exp $
--- src/fault-openbsd-sh.h.orig Mon Dec 28 07:01:13 2009
+++ src/fault-openbsd-sh.h Mon Dec 28 08:20:53 2009
@@ -0,0 +1,3 @@
+#include "fault-openbsd.h"
+
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_reg.r_r15