python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / transmission / 0001-fix-utypes.patch
blob96403a6c360cfa9d27ea0af956f25ec6b47cf881
1 Fix build error "conflicting types for 'UTP_Write'"
3 Fetch from: http://www.adminsehow.com/2012/10/how-to-install-transmission-2-71-on-debian-6-0-squeeze/
5 The corresponding upstream bug report (unfixed) can be found here:
6 https://trac.transmissionbt.com/ticket/5232
8 Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
10 --- transmission-2.82.org/third-party/libutp/utypes.h 2013-08-09 04:47:43.000000000 +0200
11 +++ transmission-2.82/third-party/libutp/utypes.h 2014-01-02 20:17:18.000000000 +0100
12 @@ -35,8 +35,15 @@
13 typedef const char * cstr;
14 typedef char * str;
16 -#ifndef __cplusplus
17 -typedef uint8 bool;
18 -#endif
19 +//#ifndef __cplusplus
20 +//typedef uint8 bool;
21 +//#endif
22 +#ifndef __cplusplus
23 +#ifdef HAVE_STDBOOL_H
24 +#include <stdbool.h>
25 +#else
26 +typedef uint8 bool;
27 +#endif
28 +#endif
30 #endif //__UTYPES_H__