]> code.ossystems Code Review - openembedded-core.git/commitdiff
libxdmcp: make libbsd usage deterministic
authorRoss Burton <ross.burton@intel.com>
Thu, 21 May 2015 09:19:22 +0000 (10:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 May 2015 09:48:41 +0000 (10:48 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libxdmcp_1.1.2.bb

index 7471b9a50916ca9cd7d5114366f3bf31c4ab993e..f4e30d93d48e766dcf5993d73e13705c5dead480 100644 (file)
@@ -24,3 +24,6 @@ BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI[md5sum] = "18aa5c1279b01f9d18e3299969665b2e"
 SRC_URI[sha256sum] = "81fe09867918fff258296e1e1e159f0dc639cb30d201c53519f25ab73af4e4e2"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd"