harfbuzz: bump version to 1.4.5
[buildroot-gz.git] / package / wipe / 0001-musl.patch
blob35b3af80fff3e21a70928a51097ecc49d66c2ddc
1 Fix musl build
3 In file included from main.c:46:0:
4 rand.h:31:9: error: unknown type name ‘u_int32_t’
5 typedef u_int32_t u_rand_t;
7 <builtin>: recipe for target 'main.o' failed
9 Patch sent upstream: https://sourceforge.net/p/wipe/patches/4/
11 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
13 diff -uNr wipe-2.3.1.org/rand.h wipe-2.3.1/rand.h
14 --- wipe-2.3.1.org/rand.h 2003-12-03 04:01:02.000000000 +0100
15 +++ wipe-2.3.1/rand.h 2016-01-31 21:39:54.000000000 +0100
16 @@ -22,10 +22,9 @@
18 #ifdef HAVE_STDINT_H
19 # include "stdint.h"
20 -#else
21 -# ifndef LINUX
22 +#endif
23 +#if !defined(u_int32_t)
24 # define u_int32_t uint32_t
25 -# endif
26 #endif
28 typedef u_int32_t u_rand_t;