aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/patches/110-portability.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2015-12-05 15:44:58 +0000
committerHauke Mehrtens <hauke@openwrt.org>2015-12-05 15:44:58 +0000
commitb48f14021170edbd22d1d8ba1b36d6ae09e4535d (patch)
treed5707964e25eade5da116b8ca84f05e95d50c430 /tools/mtd-utils/patches/110-portability.patch
parentaf9b8563d88739e0f5a3aab8db032bf1f4057245 (diff)
downloadmaster-187ad058-b48f14021170edbd22d1d8ba1b36d6ae09e4535d.tar.gz
master-187ad058-b48f14021170edbd22d1d8ba1b36d6ae09e4535d.tar.bz2
master-187ad058-b48f14021170edbd22d1d8ba1b36d6ae09e4535d.zip
update mtd-utils to 1.5.2
- update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73) - remove patches that went upstream - fixes build from scratch as of broken patches Signed-off-by: Sven Roederer <devel-sven@geroedel.de> [use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47790 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mtd-utils/patches/110-portability.patch')
-rw-r--r--tools/mtd-utils/patches/110-portability.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/mtd-utils/patches/110-portability.patch b/tools/mtd-utils/patches/110-portability.patch
index 4ad209a449..c4cdab928a 100644
--- a/tools/mtd-utils/patches/110-portability.patch
+++ b/tools/mtd-utils/patches/110-portability.patch
@@ -150,27 +150,6 @@
#include <inttypes.h>
#include "version.h"
-@@ -117,11 +116,6 @@ extern "C" {
- fprintf(stderr, "%s: warning!: " fmt "\n", PROGRAM_NAME, ##__VA_ARGS__); \
- } while(0)
-
--#if defined(__UCLIBC__)
--/* uClibc versions before 0.9.34 don't have rpmatch() */
--#if __UCLIBC_MAJOR__ == 0 && \
-- (__UCLIBC_MINOR__ < 9 || \
-- (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 34))
- #undef rpmatch
- #define rpmatch __rpmatch
- static inline int __rpmatch(const char *resp)
-@@ -129,8 +123,6 @@ static inline int __rpmatch(const char *
- return (resp[0] == 'y' || resp[0] == 'Y') ? 1 :
- (resp[0] == 'n' || resp[0] == 'N') ? 0 : -1;
- }
--#endif
--#endif
-
- /**
- * prompt the user for confirmation
--- a/include/mtd/ubifs-media.h
+++ b/include/mtd/ubifs-media.h
@@ -33,7 +33,15 @@