From 21efd0f600732a80a1433c6b142db4241c2b2995 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 12 Jul 2017 18:32:16 +0200 Subject: [PATCH] Travis CI: Use -DXML_POOR_ENTROPY to fix compilation I would use libbsd but it's broken on Ubuntu trusty: ``` /usr/include/bsd/stdlib.h:52:27: error: unknown type name 'u_char' void arc4random_addrandom(u_char *dat, int datlen); ^ ``` https://travis-ci.org/libexpat/libexpat/jobs/252880355 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ddd46613..e63ce75e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ dist: trusty env: global: + - CPPFLAGS='-DXML_POOR_ENTROPY' # bad idea, do not copy! - CFLAGS='-g -pipe' matrix: - MODE=address