summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-08-14 22:04:32 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2016-08-22 15:49:23 +0200
commit30eb09f3bbb9583a4e7181858488f6259f4b381e (patch)
tree09c1f1f6cf13f5a42a308876773388658c430bdc /meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb
parent46248dca3c3ab7f9deff5ac007dcc028cee1d13f (diff)
downloadmeta-openembedded-30eb09f3bbb9583a4e7181858488f6259f4b381e.tar.gz
libgphoto2: Fix build when security flags are enabled with clang
clang is more pedantic and throws below errors ../../libgphoto2-2.5.8/camlibs/ptp2/chdk.c:1131:14: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] sprintf(lua,luascript); /* This expands the %q inside the string too ... do not optimize away. */ ^~~~~~~~~ Backport a patch to silence the warnings where it avoids the use of sprintf all the way Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb')
-rw-r--r--meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb
index dde14adcbb..098da79ad6 100644
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb
@@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2
15 file://40-libgphoto2.rules \ 15 file://40-libgphoto2.rules \
16 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ 16 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \
17 file://0002-correct-jpeg-memsrcdest-support.patch \ 17 file://0002-correct-jpeg-memsrcdest-support.patch \
18 file://avoid_using_sprintf.patch \
18" 19"
19 20
20SRC_URI[libgphoto2.md5sum] = "873ab01aced49c6b92a98e515db5dcef" 21SRC_URI[libgphoto2.md5sum] = "873ab01aced49c6b92a98e515db5dcef"