summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2011-11-26 22:41:25 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2011-11-26 22:41:25 +0000
commite8e652c6ea9d2ed424c9c4bb7cb00c9fd64c4450 (patch)
tree2abae30a25185864181f8dde3c337dc5c2c9f76a /net-p2p/transmission/files
parentUpdate bugs-to. (diff)
downloadgentoo-2-e8e652c6ea9d2ed424c9c4bb7cb00c9fd64c4450.tar.gz
gentoo-2-e8e652c6ea9d2ed424c9c4bb7cb00c9fd64c4450.tar.bz2
gentoo-2-e8e652c6ea9d2ed424c9c4bb7cb00c9fd64c4450.zip
Fix build issue when USE=-utp, bug #290737.
(Portage version: 2.2.0_alpha78/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/transmission/files')
-rw-r--r--net-p2p/transmission/files/transmission-2.41-noutp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-p2p/transmission/files/transmission-2.41-noutp.patch b/net-p2p/transmission/files/transmission-2.41-noutp.patch
new file mode 100644
index 000000000000..141102162809
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-2.41-noutp.patch
@@ -0,0 +1,14 @@
+--- third-party/libutp/utypes.h.orig Wed Sep 28 19:46:15 2011
++++ third-party/libutp/utypes.h Wed Sep 28 19:47:06 2011
+@@ -36,7 +36,11 @@ typedef const char * cstr;
+ typedef char * str;
+
+ #ifndef __cplusplus
++#ifdef HAVE_STDBOOL_H
++#include <stdbool.h>
++#else
+ typedef uint8 bool;
++#endif
+ #endif
+
+ #endif //__UTYPES_H__