initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
Fix build error "conflicting types for 'UTP_Write'"
|
||||
|
||||
Fetch from: http://www.adminsehow.com/2012/10/how-to-install-transmission-2-71-on-debian-6-0-squeeze/
|
||||
|
||||
The corresponding upstream bug report (unfixed) can be found here:
|
||||
https://trac.transmissionbt.com/ticket/5232
|
||||
|
||||
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
|
||||
[Fabrice: adapt to 3.00, which always uses stdbool.h]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[yann.morin.1998@free.fr:
|
||||
- don't comment-out dropped code, just drop it
|
||||
- use CR-LF in replacement code, as used by upstream
|
||||
]
|
||||
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
|
||||
|
||||
--- transmission-2.82.org/third-party/libutp/utypes.h 2013-08-09 04:47:43.000000000 +0200
|
||||
+++ transmission-2.82/third-party/libutp/utypes.h 2014-01-02 20:17:18.000000000 +0100
|
||||
@@ -35,8 +35,8 @@
|
||||
typedef const char * cstr;
|
||||
typedef char * str;
|
||||
|
||||
-#ifndef __cplusplus
|
||||
-typedef uint8 bool;
|
||||
-#endif
|
||||
+#ifndef __cplusplus
|
||||
+#include <stdbool.h>
|
||||
+#endif
|
||||
|
||||
#endif //__UTYPES_H__
|
||||
Reference in New Issue
Block a user