diff options
author | bouyer <bouyer> | 2005-05-23 22:02:04 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2005-05-23 22:02:04 +0000 |
commit | 3f6e2f1617d780ae024f37b3fb4ac827d1e74f3a (patch) | |
tree | d2c20fbdb3f1df4d6161e48034fa259946e44fcc /sysutils | |
parent | 0ca6bebb3cce2e96d66fa08009b0fd28bb1298d2 (diff) | |
download | pkgsrc-3f6e2f1617d780ae024f37b3fb4ac827d1e74f3a.tar.gz |
Don't mmap /kern/xen/privcmd (this doesn't work any more on current), use
MAP_ANON instead. Bump pkgrevision.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xentools20/Makefile | 4 | ||||
-rw-r--r-- | sysutils/xentools20/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xentools20/patches/patch-as | 22 |
3 files changed, 26 insertions, 3 deletions
diff --git a/sysutils/xentools20/Makefile b/sysutils/xentools20/Makefile index 035a66c005f..3e78c57e54e 100644 --- a/sysutils/xentools20/Makefile +++ b/sysutils/xentools20/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.9 2005/05/22 20:08:34 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2005/05/23 22:02:04 bouyer Exp $ # DISTNAME= xen-2.0.3-src PKGNAME= xentools20-2.0.3 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= sysutils MASTER_SITES= http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/ EXTRACT_SUFX= .tgz diff --git a/sysutils/xentools20/distinfo b/sysutils/xentools20/distinfo index 18acfa0cccb..5753cad171f 100644 --- a/sysutils/xentools20/distinfo +++ b/sysutils/xentools20/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/05/23 18:05:16 xtraeme Exp $ +$NetBSD: distinfo,v 1.5 2005/05/23 22:02:04 bouyer Exp $ SHA1 (xen-2.0.3-src.tgz) = eb71d43abd014c87062f5b93932947b71e32be54 RMD160 (xen-2.0.3-src.tgz) = 13cd844dbdeccbb9a97ee0d49f5b187a5f2590e7 @@ -21,3 +21,4 @@ SHA1 (patch-ao) = 2f3fb89cf3209e19d3f5e2e13017981f7c98b8b3 SHA1 (patch-ap) = da9d70ec8c61e8524b0b268113d178ec1d0d176c SHA1 (patch-aq) = 96ac4caaa268069ee02962a917f85753515747be SHA1 (patch-ar) = 4f4b47a47698720042fe8c30a7ac74304295740d +SHA1 (patch-as) = 333da168af43dae9a4e8695409cbd006e7fcf097 diff --git a/sysutils/xentools20/patches/patch-as b/sysutils/xentools20/patches/patch-as new file mode 100644 index 00000000000..038bb67a0b7 --- /dev/null +++ b/sysutils/xentools20/patches/patch-as @@ -0,0 +1,22 @@ +$NetBSD: patch-as,v 1.1 2005/05/23 22:02:04 bouyer Exp $ + +--- libxc/xc_private.c.orig 2005-01-12 13:22:19.000000000 +0100 ++++ libxc/xc_private.c 2005-05-23 23:37:15.000000000 +0200 +@@ -11,7 +11,7 @@ + { + privcmd_mmapbatch_t ioctlx; + void *addr; +- addr = mmap(NULL, num*PAGE_SIZE, prot, MAP_SHARED, xc_handle, 0); ++ addr = mmap(NULL, num*PAGE_SIZE, prot, MAP_ANON | MAP_SHARED, -1, 0); + if ( addr != NULL ) + { + ioctlx.num=num; +@@ -38,7 +38,7 @@ + privcmd_mmap_t ioctlx; + privcmd_mmap_entry_t entry; + void *addr; +- addr = mmap(NULL, size, prot, MAP_SHARED, xc_handle, 0); ++ addr = mmap(NULL, size, prot, MAP_ANON | MAP_SHARED, -1, 0); + if ( addr != NULL ) + { + ioctlx.num=1; |