diff options
author | jlam <jlam@pkgsrc.org> | 2000-12-22 20:18:12 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-12-22 20:18:12 +0000 |
commit | 4576da65a48d8281a98355d658377c457ffee484 (patch) | |
tree | 624f4c5b8453a5161068a28588fdb54a4a10850b /sysutils/aperture/patches | |
parent | cbfbe4c8d8a96c85aa5f8c079ca6cda08ff60093 (diff) | |
download | pkgsrc-4576da65a48d8281a98355d658377c457ffee484.tar.gz |
The paddr_t mmap interface change is for anything except <1.5 and 1.5A,
so make the __NetBSD_Version__ checking reflect this. This should
hopefully fix build problems on 1.5.1_ALPHA.
Diffstat (limited to 'sysutils/aperture/patches')
-rw-r--r-- | sysutils/aperture/patches/patch-ad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/aperture/patches/patch-ad b/sysutils/aperture/patches/patch-ad index a78e623e2fa..ef05651d712 100644 --- a/sysutils/aperture/patches/patch-ad +++ b/sysutils/aperture/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.2 2000/07/21 07:45:50 jlam Exp $ +$NetBSD: patch-ad,v 1.3 2000/12/22 20:18:13 jlam Exp $ --- module/aperture.c.orig Fri Jul 21 03:37:57 2000 +++ module/aperture.c Fri Jul 21 03:42:51 2000 @@ -13,7 +13,7 @@ $NetBSD: patch-ad,v 1.2 2000/07/21 07:45:50 jlam Exp $ + * 1.5 release, the change to the kernel mmap interface appears. + */ +#if (__NetBSD_Version__ < 105000000) || \ -+ ((__NetBSD_Version__ > 105000000) && (__NetBSD_Version__ < 105020000)) ++ ((__NetBSD_Version__ > 105010000) && (__NetBSD_Version__ < 105020000)) int xf86mmap(dev, offset, length) dev_t dev; |