diff options
Diffstat (limited to 'graphics/gmplayer/patches/patch-ab')
-rw-r--r-- | graphics/gmplayer/patches/patch-ab | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/gmplayer/patches/patch-ab b/graphics/gmplayer/patches/patch-ab new file mode 100644 index 00000000000..214d116cf8b --- /dev/null +++ b/graphics/gmplayer/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.3 2002/05/03 17:54:18 fredb Exp $ + +--- libdha/mtrr.c.orig Sun Apr 28 00:42:24 2002 ++++ libdha/mtrr.c +@@ -13,9 +13,12 @@ + #include "AsmMacros.h" + + #if defined (__i386__) && defined (__NetBSD__) ++#include <sys/param.h> ++#if __NetBSD_Version__ > 105240000 + #include <stdint.h> +-#include <stdlib.h> + #include <machine/mtrr.h> ++#endif ++#include <stdlib.h> + #include <machine/sysarch.h> + #endif + +@@ -46,7 +49,7 @@ + return wr_len == strlen(sout) ? 0 : EPERM; + } + return ENOSYS; +-#elif defined (__NetBSD__) ++#elif defined (__NetBSD__) && (__NetBSD_Version__ > 105240000) + struct mtrr *mtrrp; + int n; + |