diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-25 19:45:53 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-27 21:38:15 +0300 |
commit | 316dfdd917bec6a218f431211d28bf8df6b6fb0f (patch) | |
tree | 5541073f9851f44c2bd67b4959dc776ee3c3810f /import-layers/meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch | |
parent | 36acd3e888044dea2ac0b2946f15616f968388c9 (diff) | |
download | openbmc-316dfdd917bec6a218f431211d28bf8df6b6fb0f.tar.xz |
Yocto 2.5
Move OpenBMC to Yocto 2.5(sumo)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5c5ad6904a16e14c1c397f0baf10c9d465594a78
Diffstat (limited to 'import-layers/meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch')
-rw-r--r-- | import-layers/meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/import-layers/meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch b/import-layers/meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch deleted file mode 100644 index 20db671e0..000000000 --- a/import-layers/meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch +++ /dev/null @@ -1,26 +0,0 @@ -This checks whether the format string is a literal on the calling function. As bonobo_debug_print() -takes already a va_list, we specify the format on the functions that call it -The second number, which is 0 here, should then be the argument index of the variadic argument - -Fixed warning with clang - -| ../../libbonobo-2.32.1/bonobo/bonobo-debug.c:58:32: error: format string is not a string literal [-Werror,-Wformat-nonliteral] -| vfprintf (_bonobo_debug_file, fmt, args); -| ^~~ -| 1 error generated. - -Upstream-Status: Pending -Signed-off-by: Khem Raj <raj.khem@gmail.com> - -Index: libbonobo-2.32.1/bonobo/bonobo-debug.c -=================================================================== ---- libbonobo-2.32.1.orig/bonobo/bonobo-debug.c -+++ libbonobo-2.32.1/bonobo/bonobo-debug.c -@@ -47,6 +47,7 @@ bonobo_debug_init(void) - _bonobo_debug_file = stderr; - } - -+__attribute__((__format__ (printf, 2, 0))) - void - bonobo_debug_print (const char *name, char *fmt, ...) - { |