summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-05-21 10:19:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-21 10:51:16 +0100
commit86a49aa3b8c8db6d8bb05e5746ca5c01030455a4 (patch)
tree42e5faf80a24719724fa8afa0a1e93ef5727c283
parent5bcf9666a69c648eee2081388e42ec169be4c990 (diff)
downloadpoky-86a49aa3b8c8db6d8bb05e5746ca5c01030455a4.tar.gz
libxdmcp: make libbsd usage deterministic
libxdmcp can optionally use arc4random_buf() from libbsd instead of it's own random key generation code. As this is an optional dependency add a PACKAGECONFIG for it and default to not using libbsd. (From OE-Core rev: fe7780a9bbbfa4dcbbe457618a0842e91a3c6a0e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-lib/libxdmcp_1.1.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.2.bb b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.2.bb
index 7471b9a509..f4e30d93d4 100644
--- a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.2.bb
@@ -24,3 +24,6 @@ BBCLASSEXTEND = "native nativesdk"
24 24
25SRC_URI[md5sum] = "18aa5c1279b01f9d18e3299969665b2e" 25SRC_URI[md5sum] = "18aa5c1279b01f9d18e3299969665b2e"
26SRC_URI[sha256sum] = "81fe09867918fff258296e1e1e159f0dc639cb30d201c53519f25ab73af4e4e2" 26SRC_URI[sha256sum] = "81fe09867918fff258296e1e1e159f0dc639cb30d201c53519f25ab73af4e4e2"
27
28PACKAGECONFIG ??= ""
29PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd"