Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/8] libvncserver: Fix build with security flags on and disable libva
@ 2016-12-03  3:04 Khem Raj
  2016-12-03  3:04 ` [meta-python][PATCH 2/8] python-cson: Add recipe Khem Raj
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Khem Raj @ 2016-12-03  3:04 UTC (permalink / raw)
  To: openembedded-devel

When libva is present it detects it and then fails to build
until the support is fixed, lets disable it

Add a patch to fix issue found when compiling with
security flags turned on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../libvncserver/0002-format_string.patch           | 21 +++++++++++++++++++++
 .../libvncserver/libvncserver_0.9.10.bb             |  3 +++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/libvncserver/libvncserver/0002-format_string.patch

diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver/0002-format_string.patch b/meta-oe/recipes-graphics/libvncserver/libvncserver/0002-format_string.patch
new file mode 100644
index 0000000..566a208
--- /dev/null
+++ b/meta-oe/recipes-graphics/libvncserver/libvncserver/0002-format_string.patch
@@ -0,0 +1,21 @@
+From: Luca Falavigna <dktrkranz@debian.org>
+Date: Tue, 27 Jan 2015 01:26:04 +0000
+Subject: format_string
+
+---
+ client_examples/gtkvncviewer.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/client_examples/gtkvncviewer.c b/client_examples/gtkvncviewer.c
+index 261b2da..861e4e3 100644
+--- a/client_examples/gtkvncviewer.c
++++ b/client_examples/gtkvncviewer.c
+@@ -588,7 +588,7 @@ static void GtkDefaultLog (const char *format, ...)
+ 
+ 	time (&log_clock);
+ 	strftime (buf, 255, "%d/%m/%Y %X ", localtime (&log_clock));
+-	fprintf (stdout, buf);
++	fprintf (stdout, "%s", buf);
+ 
+ 	vfprintf (stdout, format, args);
+ 	fflush (stdout);
diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb
index 387202b..0eba87c 100644
--- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb
+++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb
@@ -14,6 +14,7 @@ SRC_URI  = "\
     ${DEBIAN_MIRROR}/main/libv/libvncserver/libvncserver_0.9.10+dfsg.orig.tar.xz \
     file://0001-remove-webclients-build.patch \
     file://0002-common-add-sha1.patch \
+    file://0002-format_string.patch \
 "
 
 SRC_URI[md5sum] = "e883b6c7bd339a5e1c48645051abe5c4"
@@ -21,4 +22,6 @@ SRC_URI[sha256sum] = "583f28869b82aec57768d7d18cd7ff81bf092ecbbc1209b587c2c2cd68
 
 S = "${WORKDIR}/${BPN}-LibVNCServer-${PV}"
 
+EXTRA_OECONF += "--without-libva"
+
 TARGET_LDFLAGS += "-lgcrypt"
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-12-10 20:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-03  3:04 [meta-oe][PATCH 1/8] libvncserver: Fix build with security flags on and disable libva Khem Raj
2016-12-03  3:04 ` [meta-python][PATCH 2/8] python-cson: Add recipe Khem Raj
2016-12-03  3:04 ` [meta-oe][PATCH 3/8] dmalloc: " Khem Raj
2016-12-03  3:04 ` [meta-oe][PATCH 4/8] libmng: " Khem Raj
2016-12-09 21:42   ` Martin Jansa
2016-12-03  3:04 ` [meta-oe][PATCH 5/8] zbar: " Khem Raj
2016-12-09 21:40   ` Martin Jansa
2016-12-03  3:04 ` [meta-oe][PATCH 6/8] msgpack-c: " Khem Raj
2016-12-03  3:04 ` [meta-oe][PATCH 7/8] avro: " Khem Raj
2016-12-10 19:48   ` Martin Jansa
2016-12-10 20:54     ` Khem Raj
2016-12-03  3:04 ` [meta-oe][PATCH 8/8] loop-aes: " Khem Raj
2016-12-09 21:40   ` Martin Jansa
2016-12-09 22:45     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox