summaryrefslogtreecommitdiffstats
path: root/package/xvisor/0002-openconf-do-not-check-stdin.patch
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2017-07-23 18:05:47 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-24 17:57:14 +0200
commita217f0e67fbb5013f14ca251b27df136a0433a75 (patch)
treed668d403a264facb54de9029e0f027570d19dd4b /package/xvisor/0002-openconf-do-not-check-stdin.patch
parent168cac4fbce91233710903426f40887456b349df (diff)
downloadbuildroot-a217f0e67fbb5013f14ca251b27df136a0433a75.tar.gz
buildroot-a217f0e67fbb5013f14ca251b27df136a0433a75.zip
xvisor: bump version to 0.29
Bump version to 0.29, drop deprecated patch and update dependencies. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xvisor/0002-openconf-do-not-check-stdin.patch')
-rw-r--r--package/xvisor/0002-openconf-do-not-check-stdin.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/package/xvisor/0002-openconf-do-not-check-stdin.patch b/package/xvisor/0002-openconf-do-not-check-stdin.patch
deleted file mode 100644
index 34b350de42..0000000000
--- a/package/xvisor/0002-openconf-do-not-check-stdin.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 6b49c1dbe0ac43e39eec97a7e79cf5fb995747dc Mon Sep 17 00:00:00 2001
-From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
-Date: Mon, 12 Sep 2016 21:49:55 +0530
-Subject: [PATCH] openconf: do not check stdin
-
-Do not check if stdin is redirected when ask_silent is true, so the
-`yes` program can be used to answer the questions about new values.
-
-Example:
-
- yes "" | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- oldconfig
-
-Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
-Signed-off-by: Anup Patel <anup@brainfault.org>
----
- tools/openconf/conf.c | 12 ------------
- 1 file changed, 12 deletions(-)
-
-diff --git a/tools/openconf/conf.c b/tools/openconf/conf.c
-index a428058..711cf0b 100644
---- a/tools/openconf/conf.c
-+++ b/tools/openconf/conf.c
-@@ -65,16 +65,6 @@ static void strip(char *str)
- *p-- = 0;
- }
-
--static void check_stdin(void)
--{
-- if (!valid_stdin) {
-- printf("aborted!\n\n");
-- printf("Console input/output is redirected. ");
-- printf("Run 'make oldconfig' to update configuration.\n\n");
-- exit(1);
-- }
--}
--
- static int conf_askvalue(struct symbol *sym, const char *def)
- {
- char *ret;
-@@ -100,7 +90,6 @@ static int conf_askvalue(struct symbol *sym, const char *def)
- printf("%s\n", def);
- return 0;
- }
-- check_stdin();
- case ask_all:
- fflush(stdout);
- ret = fgets(line, 128, stdin);
-@@ -306,7 +295,6 @@ static int conf_choice(struct menu *menu)
- printf("%d\n", cnt);
- break;
- }
-- check_stdin();
- case ask_all:
- fflush(stdout);
- ret = fgets(line, 128, stdin);
---
-2.4.11
-
OpenPOWER on IntegriCloud