summaryrefslogtreecommitdiff
path: root/system/mbootpack/mbootpack-0.6a_asm_page_fix.patch
diff options
context:
space:
mode:
authormario <mario@slackverse.org>2010-07-01 02:08:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-01 02:08:47 -0500
commitfcd5e68950519d054e2f8aff018cc128e10533b2 (patch)
tree95087a8f54d76bb5d6b8f8cf51f53fbf2c6168b0 /system/mbootpack/mbootpack-0.6a_asm_page_fix.patch
parent53d7865ee07138dc883405c016089cecb3b92c61 (diff)
downloadslackbuilds-fcd5e68950519d054e2f8aff018cc128e10533b2.tar.gz
system/mbootpack: Added (multiboot kernel/module packer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/mbootpack/mbootpack-0.6a_asm_page_fix.patch')
-rw-r--r--system/mbootpack/mbootpack-0.6a_asm_page_fix.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/system/mbootpack/mbootpack-0.6a_asm_page_fix.patch b/system/mbootpack/mbootpack-0.6a_asm_page_fix.patch
new file mode 100644
index 0000000000..0a5cb0d910
--- /dev/null
+++ b/system/mbootpack/mbootpack-0.6a_asm_page_fix.patch
@@ -0,0 +1,37 @@
+# Well, since asm/page.h has been removed from make headers_install,
+# we replace it with sys/user.h
+# Copyright 2010, mario <mario@slackverse.org>
+
+--- mbootpack-0.6a/buildimage.c.ORIG 2008-12-09 14:10:59.000000000 +0100
++++ mbootpack-0.6a/buildimage.c 2010-06-18 18:15:11.130697044 +0200
+@@ -38,7 +38,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+-#include <asm/page.h>
++#include <sys/user.h>
+
+ #include "mbootpack.h"
+ #include "mb_header.h"
+--- mbootpack-0.6a/mbootpack.c.ORIG 2008-12-09 14:10:59.000000000 +0100
++++ mbootpack-0.6a/mbootpack.c 2010-06-18 18:15:21.709696839 +0200
+@@ -43,7 +43,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+-#include <asm/page.h>
++#include <sys/user.h>
+
+ /* From GNU GRUB */
+ #include "mb_header.h"
+--- mbootpack-0.6a/setup.S.ORIG 2008-12-09 14:10:59.000000000 +0100
++++ mbootpack-0.6a/setup.S 2010-06-18 18:15:33.899696996 +0200
+@@ -82,7 +82,7 @@
+ #include <linux/compile.h>
+ #include <asm/boot.h>
+ #include <asm/e820.h>
+-#include <asm/page.h>
++#include <sys/user.h>
+ */
+
+ /* Definitions that should have come from these includes */