package/rpi-userland: don't install file in random location
[buildroot-gz.git] / package / log4cpp / 0001-Fix-musl-compile.patch
blobf1a13a072c18fc14362f5e2754ad158d0434f37a
1 From 17562259fb6684f351a70b98b4f3b438927ba1aa Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Mon, 11 Jul 2016 22:58:31 +0200
4 Subject: [PATCH] Fix musl compile.
6 Include proper config.h (via log4cpp/Portability.hh) to fix the
7 evaluate of LOG4CPP_HAVE_STDINT_H in the file tests/Clock.hh
9 Fixes:
11 Clock.hh:17:13: error: 'int64_t' does not name a type
12 typedef int64_t usec_t;
14 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
15 ---
16 log4cpp/tests/Clock.hh | 2 ++
17 1 file changed, 2 insertions(+)
19 diff --git a/log4cpp/tests/Clock.hh b/log4cpp/tests/Clock.hh
20 index 4bf0ca4..45c6467 100644
21 --- a/log4cpp/tests/Clock.hh
22 +++ b/log4cpp/tests/Clock.hh
23 @@ -6,6 +6,8 @@
24 #ifndef __CLOCK_H
25 #define __CLOCK_H
27 +#include <log4cpp/Portability.hh>
29 #ifdef LOG4CPP_HAVE_STDINT_H
30 #include <stdint.h>
31 #endif // LOG4CPP_HAVE_STDINT_H
32 --
33 2.8.1