From 06a9a289301c0b99bca36e1f45d8e7c73b1f6597 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 4 Aug 2002 21:09:23 +0000 Subject: Add patch to make this compilable with 1.6 (tested with i386),. enable for NetBSD-* This fixes pkg/16450 by Jan Schaumann. --- devel/chkpt/Makefile | 4 ++-- devel/chkpt/distinfo | 3 ++- devel/chkpt/patches/patch-ac | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 devel/chkpt/patches/patch-ac diff --git a/devel/chkpt/Makefile b/devel/chkpt/Makefile index d3c5e630e9e..e0ae9d732bc 100644 --- a/devel/chkpt/Makefile +++ b/devel/chkpt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/07/25 13:58:28 wennmach Exp $ +# $NetBSD: Makefile,v 1.7 2002/08/04 21:09:23 jdolecek Exp $ DISTNAME= chkpt-1.7.1 CATEGORIES= devel @@ -9,7 +9,7 @@ MAINTAINER= wennmach@netbsd.org #HOMEPAGE= COMMENT= User-level checkpointing library -ONLY_FOR_PLATFORM= NetBSD-1.4*-* NetBSD-1.5-* NetBSD-1.5.*-* +ONLY_FOR_PLATFORM= NetBSD-* HAS_CONFIGURE= yes CONFIGURE_ENV+= PREFIX="${PREFIX}" diff --git a/devel/chkpt/distinfo b/devel/chkpt/distinfo index fe75263b581..9cd0826ff0f 100644 --- a/devel/chkpt/distinfo +++ b/devel/chkpt/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 00:44:13 wiz Exp $ +$NetBSD: distinfo,v 1.3 2002/08/04 21:09:24 jdolecek Exp $ SHA1 (chkpt-1.7.1.tar.gz) = 5d0b441415e6473e9ada5d9c8f0aef52beaa4196 Size (chkpt-1.7.1.tar.gz) = 44954 bytes SHA1 (patch-aa) = 1b9a9bd40701950c64d06ff3b2710668930ef979 SHA1 (patch-ab) = daaf4763ee951e5a366e0e94ba3362806e239f8d +SHA1 (patch-ac) = 91ab70a614d011360c23608a969d5b2c9200075f diff --git a/devel/chkpt/patches/patch-ac b/devel/chkpt/patches/patch-ac new file mode 100644 index 00000000000..d93b97a418b --- /dev/null +++ b/devel/chkpt/patches/patch-ac @@ -0,0 +1,18 @@ +$NetBSD: patch-ac,v 1.1 2002/08/04 21:09:24 jdolecek Exp $ + +--- include/machine.h.orig Sun Aug 4 23:02:10 2002 ++++ include/machine.h Sun Aug 4 23:03:26 2002 +@@ -53,6 +53,13 @@ + #elif defined(__sparc__) + #define ARCH_SPARC 1 + #endif ++ ++#include ++#if __NetBSD_Version__ > 106000000 /* 1.6.* */ ++#include ++#include ++#include ++#endif + #endif /* __NetBSD__ */ + + #if defined(__alpha) && defined(__osf__) -- cgit v1.2.3