GNOME Bugzilla – Bug 723461
Build fails in babl-gen-test-pixels when srandom is missing
Last modified: 2014-02-05 10:02:28 UTC
The purpose of babl-gen-test-pixels was to make execution not depend on srandom/random, but it also removed the fallback to srand needed to compile on Windows.
Created attachment 267825 [details] [review] Disable babl-gen-test-pixels when random is missing
Created attachment 267829 [details] [review] tests: Use rand when random is unavailable And another patch to take care of babl_fish_path_fitness.
commit c1f075f22c70de54c2b04ca5df008a5e406d3ca9 Author: Daniel Sabo <DanielSabo@gmail.com> Date: Sat Feb 1 23:13:28 2014 -0800 tests: Use rand when random is unavailable tests/babl_fish_path_fitness.c | 5 +++++ 1 file changed, 5 insertions(+) commit 20b208085ffc6124eb4c2c5b1a6ddf95927ef6be Author: Daniel Sabo <DanielSabo@gmail.com> Date: Sat Feb 1 20:22:49 2014 -0800 Disable babl-gen-test-pixels when random is missing babl-gen-test-pixels is only needed to regenerate the source pixels and doesn't need to be run as part of the normal build process. configure.ac | 7 +++++++ tools/Makefile.am | 2 ++ 2 files changed, 9 insertions(+)