summaryrefslogtreecommitdiff
path: root/devel/chkpt
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2002-08-04 21:09:23 +0000
committerjdolecek <jdolecek@pkgsrc.org>2002-08-04 21:09:23 +0000
commit7f7e48c39f30e68972214da6ccd7297b32fcaa42 (patch)
tree7e32bf57abfdcdf6fa76d78e3528c37467b4afdc /devel/chkpt
parent9bd0bc2b372f23bc990b84f16c01f0f124a885e4 (diff)
downloadpkgsrc-7f7e48c39f30e68972214da6ccd7297b32fcaa42.tar.gz
Add patch to make this compilable with 1.6 (tested with i386),.
enable for NetBSD-* This fixes pkg/16450 by Jan Schaumann.
Diffstat (limited to 'devel/chkpt')
-rw-r--r--devel/chkpt/Makefile4
-rw-r--r--devel/chkpt/distinfo3
-rw-r--r--devel/chkpt/patches/patch-ac18
3 files changed, 22 insertions, 3 deletions
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 <sys/param.h>
++#if __NetBSD_Version__ > 106000000 /* 1.6.* */
++#include <uvm/uvm_extern.h>
++#include <machine/pte.h>
++#include <machine/pmap.h>
++#endif
+ #endif /* __NetBSD__ */
+
+ #if defined(__alpha) && defined(__osf__)