pkgsrc/sysutils/grub/patches/patch-ae
wiz 5ef51e2ef6 Apply patch:
Fix problem with systems with more than 2 GB memory (notably,
x86_64-based systems).  Thanks Goswin Brederlow.

From Debian via Andrew Daugherity in PR 36627.

Bump PKGREVISION.

pkglint cleanup while here.
2010-02-21 16:44:52 +00:00

22 lines
808 B
Text

$NetBSD: patch-ae,v 1.4 2010/02/21 16:44:52 wiz Exp $
--- stage2/shared.h 2004-06-19 18:40:09.000000000 +0200
+++ stage2/shared.h 2005-07-25 21:33:19.000000000 +0200
@@ -911,7 +911,7 @@ int substring (const char *s1, const cha
int nul_terminate (char *str);
int get_based_digit (int c, int base);
int safe_parse_maxint (char **str_ptr, int *myint_ptr);
-int memcheck (int start, int len);
+int memcheck (unsigned long int start, unsigned long int len);
void grub_putstr (const char *str);
#ifndef NO_DECOMPRESSION
@@ -975,6 +975,8 @@
#ifndef STAGE1_5
void bsd_boot (kernel_t type, int bootdev, char *arg)
__attribute__ ((noreturn));
+int freebsd_value(char arg);
+int netbsd_value(char arg);
/* Define flags for load_image here. */
/* Don't pass a Linux's mem option automatically. */