summaryrefslogtreecommitdiff
path: root/mtd
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /mtd
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'mtd')
-rw-r--r--mtd/mtd/removelinuxinc.patch16
-rw-r--r--mtd/mtd/stdint.patch11
2 files changed, 27 insertions, 0 deletions
diff --git a/mtd/mtd/removelinuxinc.patch b/mtd/mtd/removelinuxinc.patch
index e69de29bb2..984d1af514 100644
--- a/mtd/mtd/removelinuxinc.patch
+++ b/mtd/mtd/removelinuxinc.patch
@@ -0,0 +1,16 @@
+diff -urN mtd.orig/fs/jffs2/compr_rtime.c mtd/fs/jffs2/compr_rtime.c
+--- mtd.orig/fs/jffs2/compr_rtime.c 2004-04-02 20:36:01.000000000 -0500
++++ mtd/fs/jffs2/compr_rtime.c 2004-04-02 20:35:37.000000000 -0500
+@@ -21,11 +21,7 @@
+ *
+ */
+
+-#include <linux/kernel.h>
+-#include <linux/types.h>
+-#include <linux/errno.h>
+-#include <linux/string.h>
+-
++#include <string.h>
+ #include <stdint.h>
+
+ /* _compress returns the compressed size, -1 if bigger */
diff --git a/mtd/mtd/stdint.patch b/mtd/mtd/stdint.patch
index e69de29bb2..ba171fcfde 100644
--- a/mtd/mtd/stdint.patch
+++ b/mtd/mtd/stdint.patch
@@ -0,0 +1,11 @@
+--- fs/jffs2/compr_rtime.c 2004-04-01 00:07:53.000000000 +0100
++++ fs/jffs2/compr_rtime.c 2004-04-01 00:07:53.000000000 +0100
+@@ -26,6 +26,8 @@
+ #include <linux/errno.h>
+ #include <linux/string.h>
+
++#include <stdint.h>
++
+ /* _compress returns the compressed size, -1 if bigger */
+ int jffs2_rtime_compress(unsigned char *data_in, unsigned char *cpage_out,
+ uint32_t *sourcelen, uint32_t *dstlen)