summaryrefslogtreecommitdiff
path: root/devel/libsigsegv/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-09-06 13:52:29 +0000
committerwiz <wiz@pkgsrc.org>2008-09-06 13:52:29 +0000
commit583efeb6900159d003c1ab8da9c3b79d9ff5ded4 (patch)
treeca530a0b4f59211931ea4f73769c37be878c5b37 /devel/libsigsegv/Makefile
parent065d2513aa4158569acf6712efdd7cc802629cd1 (diff)
downloadpkgsrc-583efeb6900159d003c1ab8da9c3b79d9ff5ded4.tar.gz
Update to 2.6:
New in 2.6: * sigsegv_leave_handler is changed. Previously it was a normal function with no arguments. Now it is a function that take a non-returning continuation function and three arguments for it as arguments. Where you had code like int my_handler(void* fault_address, int serious) { ...code_before()...; sigsegv_leave_handler(); ...code_after()...; longjmp(...); } you now have to write void my_handler_tail(void* arg1, void* arg2, void* arg3) { ...code_after()...; longjmp(...); } int my_handler(void* fault_address, int serious) { ...code_before()...; #if LIBSIGSEGV_VERSION >= 0x0206 return sigsegv_leave_handler(my_handler_tail, arg, NULL, NULL); #else sigsegv_leave_handler(); my_handler_tail(arg, NULL, NULL); /* NOTREACHED */ abort(); #endif } * sigsegv_leave_handler now works correctly on MacOS X. * Support for 64-bit ABI on MacOS X 10.5. * Support for building universal binaries on MacOS X. * Improved distinction between stack overflow and other fault on NetBSD, OpenBSD, FreeBSD, Linux, AIX, Solaris. Contributed by Eric Blake. * GNU gnulib now has an autoconf macro for locating libsigsegv: http://www.gnu.org/software/gnulib/MODULES.html#module=libsigsegv
Diffstat (limited to 'devel/libsigsegv/Makefile')
-rw-r--r--devel/libsigsegv/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/libsigsegv/Makefile b/devel/libsigsegv/Makefile
index 59f9c963ce9..2da96787e50 100644
--- a/devel/libsigsegv/Makefile
+++ b/devel/libsigsegv/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2008/08/23 15:56:28 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/09/06 13:52:29 wiz Exp $
#
-DISTNAME= libsigsegv-2.5
-PKGREVISION= 1
+DISTNAME= libsigsegv-2.6
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=libsigsegv/}