python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / dvblast / 0002-fix-int-types.patch
blobd741cc6cb689d34a60cf4084af7dbc58849c1fd4
1 Standard integer types are uintXX_t not u_intXX_t
3 This fixes the build with the musl C library.
5 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7 diff -durN dvblast-3.0.orig/dvblast.h dvblast-3.0/dvblast.h
8 --- dvblast-3.0.orig/dvblast.h 2015-10-05 17:51:14.000000000 +0200
9 +++ dvblast-3.0/dvblast.h 2015-10-30 16:29:25.586125193 +0100
10 @@ -49,10 +49,10 @@
11 * Raw udp packet structure with flexible-array payload
12 *****************************************************************************/
13 struct udpheader { // FAVOR_BSD hell ...
14 - u_int16_t source;
15 - u_int16_t dest;
16 - u_int16_t len;
17 - u_int16_t check;
18 + uint16_t source;
19 + uint16_t dest;
20 + uint16_t len;
21 + uint16_t check;
24 #if defined(__FreeBSD__) || defined(__APPLE__)