summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-08 23:03:24 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-08 23:03:24 +0200
commite0256df3dfc4102d2783393535618d4666ed221d (patch)
tree85bd8b0472ab5617248ad987d0fa5008a1ee1911
parentenlightenemnt: Add C-D erase in desklock (diff)
downloadpatches-e0256df3dfc4102d2783393535618d4666ed221d.tar.gz
busybox: mkswap also don't need asm/page.h
-rw-r--r--busybox/busybox-1.1.0-BJA-asm-page.diff20
-rw-r--r--busybox/busybox-1.1.0-BJA-procps-asm-page.diff10
2 files changed, 20 insertions, 10 deletions
diff --git a/busybox/busybox-1.1.0-BJA-asm-page.diff b/busybox/busybox-1.1.0-BJA-asm-page.diff
new file mode 100644
index 0000000..09888e3
--- /dev/null
+++ b/busybox/busybox-1.1.0-BJA-asm-page.diff
@@ -0,0 +1,20 @@
+--- util-linux/mkswap.c.ori 2009-05-08 22:56:53.000000000 +0200
++++ util-linux/mkswap.c 2009-05-08 22:57:04.000000000 +0200
+@@ -42,7 +42,6 @@
+ #include <stdlib.h>
+ #include <sys/ioctl.h> /* for _IO */
+ #include <sys/utsname.h>
+-#include <asm/page.h> /* for PAGE_SIZE and PAGE_SHIFT */
+ /* we also get PAGE_SIZE via getpagesize() */
+ #include "busybox.h"
+
+--- libbb/procps.c.ori 2009-05-02 01:15:13.000000000 +0200
++++ libbb/procps.c 2009-05-02 01:15:20.000000000 +0200
+@@ -12,7 +12,6 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+-#include <asm/page.h>
+
+ #include "libbb.h"
+
diff --git a/busybox/busybox-1.1.0-BJA-procps-asm-page.diff b/busybox/busybox-1.1.0-BJA-procps-asm-page.diff
deleted file mode 100644
index f0a97a5..0000000
--- a/busybox/busybox-1.1.0-BJA-procps-asm-page.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- libbb/procps.c.ori 2009-05-02 01:15:13.000000000 +0200
-+++ libbb/procps.c 2009-05-02 01:15:20.000000000 +0200
-@@ -12,7 +12,6 @@
- #include <string.h>
- #include <stdlib.h>
- #include <unistd.h>
--#include <asm/page.h>
-
- #include "libbb.h"
-