pkgsrc/sysutils/grub/patches/patch-ae
jmmv b490624d95 Apply patches to recognize boot options passed to NetBSD kernels.
Bump PKGREVISION to 1.  From Piotr Meyer in PR pkg/30834.

As GRUB 0.x is in maintenance-only status now, I assume there is no
chance to get them incorporated mainstream.  We'll keep them here
though, as they seem useful (could have really helped me in some
situations when needing to boot single user).
2005-08-21 15:08:46 +00:00

13 lines
455 B
Text

$NetBSD: patch-ae,v 1.3 2005/08/21 15:08:46 jmmv Exp $
--- stage2/shared.h 2004-06-19 18:40:09.000000000 +0200
+++ stage2/shared.h 2005-07-25 21:33:19.000000000 +0200
@@ -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. */