diff options
author | Syrone Wong <wong.syrone@gmail.com> | 2018-03-24 08:25:43 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-04-28 15:29:17 +0200 |
commit | f37f63f38ccb706b196fe4934d0d9d92537eb832 (patch) | |
tree | 19941cabdc188af489a2700c64751b213a651e24 /package/utils/mtd-utils/patches/010-fix-rpmatch.patch | |
parent | c7cd166479b77e2d799da175282bed4b9521eb42 (diff) | |
download | upstream-f37f63f38ccb706b196fe4934d0d9d92537eb832.tar.gz upstream-f37f63f38ccb706b196fe4934d0d9d92537eb832.tar.bz2 upstream-f37f63f38ccb706b196fe4934d0d9d92537eb832.zip |
mtd-utils: update to 2.0.2
010-fix-rpmatch.patch is upstream, removed from our patchset
The file structure is changed, modify patch accordingly
use CONFIGURE_ARGS to disable tests, xattr and lzo
Compile and run tested on mvebu and x86_64
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'package/utils/mtd-utils/patches/010-fix-rpmatch.patch')
-rw-r--r-- | package/utils/mtd-utils/patches/010-fix-rpmatch.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/package/utils/mtd-utils/patches/010-fix-rpmatch.patch b/package/utils/mtd-utils/patches/010-fix-rpmatch.patch deleted file mode 100644 index 8374a26e9b..0000000000 --- a/package/utils/mtd-utils/patches/010-fix-rpmatch.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/include/common.h -+++ b/include/common.h -@@ -152,10 +152,12 @@ static inline bool prompt(const char *ms - } - - if (strcmp("\n", line) != 0) { -- switch (rpmatch(line)) { -- case 0: ret = false; break; -- case 1: ret = true; break; -- case -1: -+ switch (line[0]) { -+ case 'N': -+ case 'n': ret = false; break; -+ case 'Y': -+ case 'y': ret = true; break; -+ default: - puts("unknown response; please try again"); - continue; - } |