summaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/patches/110-portability_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-14 20:42:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-14 20:42:12 +0000
commit9f28e5bd03c15cbb0f9b1c534d16e065127aaeb2 (patch)
tree3acbb75c2746c4fa7b37b1847b4386ed13c7d825 /tools/mtd-utils/patches/110-portability_fix.patch
parent9c5df5edbc29971d43a0f66e7d41f4f196637843 (diff)
upgrade to a more recent version of mtd-utils - preparation for adding UBI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16455 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mtd-utils/patches/110-portability_fix.patch')
-rw-r--r--tools/mtd-utils/patches/110-portability_fix.patch61
1 files changed, 0 insertions, 61 deletions
diff --git a/tools/mtd-utils/patches/110-portability_fix.patch b/tools/mtd-utils/patches/110-portability_fix.patch
deleted file mode 100644
index 3a61321a0..000000000
--- a/tools/mtd-utils/patches/110-portability_fix.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- /dev/null
-+++ b/include/asm/types.h
-@@ -0,0 +1,3 @@
-+#ifdef linux
-+#include_next <asm/types.h>
-+#endif
---- a/util/mkfs.jffs2.c
-+++ b/util/mkfs.jffs2.c
-@@ -68,6 +68,7 @@
- #include <zlib.h>
- #undef crc32
- #include "crc32.h"
-+#include <endian.h>
-
- /* Do not use the wierd XPG version of basename */
- #undef basename
-@@ -1032,7 +1033,7 @@ static void recursive_populate_directory
- case S_IFDIR:
- if (verbose) {
- printf("\td %04o %9lu %5d:%-3d %s\n",
-- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
-+ e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
- (int) (e->sb.st_uid), (int) (e->sb.st_gid),
- e->name);
- }
-@@ -1041,7 +1042,7 @@ static void recursive_populate_directory
- case S_IFSOCK:
- if (verbose) {
- printf("\ts %04o %9lu %5d:%-3d %s\n",
-- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
-+ e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
- (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
- }
- write_pipe(e);
-@@ -1049,7 +1050,7 @@ static void recursive_populate_directory
- case S_IFIFO:
- if (verbose) {
- printf("\tp %04o %9lu %5d:%-3d %s\n",
-- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
-+ e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
- (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
- }
- write_pipe(e);
-@@ -1075,7 +1076,7 @@ static void recursive_populate_directory
- case S_IFLNK:
- if (verbose) {
- printf("\tl %04o %9lu %5d:%-3d %s -> %s\n",
-- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
-+ e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
- (int) e->sb.st_uid, (int) e->sb.st_gid, e->name,
- e->link);
- }
-@@ -1084,7 +1085,7 @@ static void recursive_populate_directory
- case S_IFREG:
- if (verbose) {
- printf("\tf %04o %9lu %5d:%-3d %s\n",
-- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
-+ e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
- (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
- }
- write_regular_file(e);