summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-27 10:46:50 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-05-03 11:10:04 +0200
commit10d0d2392d64bed9aee6f81818390ea5ddd54082 (patch)
tree933fe42b414244263fc7fa399e45bedca6482e47 /meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch
parent6bcdb8b084a45f5526a75bc10aae641da7bbcd73 (diff)
[COMMUNITY] cleaned wayland recipes to facilitate maintenance
* move wayland forward port into directory : recipes-forward-port/wayland_fp_morty * move renesas fix on forward port into directory : recipes-forward-port/wayland * weston recipes bbappend do not overwrite SRC_URI, replace SRC_URI softly (Easier to maintain). Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch')
-rw-r--r--meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch b/meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch
new file mode 100644
index 0000000..0c408a4
--- /dev/null
+++ b/meta-rcar-gen3/recipes-forward-port/wayland_fp_morty/weston/make-weston-launch-exit-for-unrecognized-option.patch
@@ -0,0 +1,33 @@
+From e8b615250f700f7854b423aaaf0a0aeea92c05a9 Mon Sep 17 00:00:00 2001
+From: Tom Hochstein <tom.hochstein@nxp.com>
+Date: Sat, 7 May 2016 08:51:58 -0300
+Subject: [PATCH] weston-launch: Handle invalid command line options
+Organization: O.S. Systems Software LTDA.
+
+Exit the program if an unrecognized command line option is found.
+
+Upstream-Status: Submitted
+
+Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+
+ src/weston-launch.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/weston-launch.c b/src/weston-launch.c
+index b8dfb17..9987d8e 100644
+--- a/src/weston-launch.c
++++ b/src/weston-launch.c
+@@ -703,6 +703,8 @@ main(int argc, char *argv[])
+ case 'h':
+ help("weston-launch");
+ exit(EXIT_FAILURE);
++ default:
++ exit(EXIT_FAILURE);
+ }
+ }
+
+--
+2.8.2
+