summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-05-20 21:06:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-05-20 21:06:32 +0000
commit25991d434e4f98ef3310410bc0a4f5e3ee9975a3 (patch)
tree8a9cf9045031930e692ae29931f5341adc6330c2 /net-p2p/transmission
parentStable for amd64, wrt bug #411507 (diff)
downloadgentoo-2-25991d434e4f98ef3310410bc0a4f5e3ee9975a3.tar.gz
gentoo-2-25991d434e4f98ef3310410bc0a4f5e3ee9975a3.tar.bz2
gentoo-2-25991d434e4f98ef3310410bc0a4f5e3ee9975a3.zip
Fix building for ~x86-fbsd wrt #400929 by Naohiro Aota
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/ChangeLog6
-rw-r--r--net-p2p/transmission/files/transmission-2.51-fbsd.patch16
-rw-r--r--net-p2p/transmission/transmission-2.51.ebuild4
3 files changed, 24 insertions, 2 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index a2816909d6c3..08db38890275 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.192 2012/05/20 20:51:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.193 2012/05/20 21:06:32 ssuominen Exp $
+
+ 20 May 2012; Samuli Suominen <ssuominen@gentoo.org> transmission-2.51.ebuild,
+ +files/transmission-2.51-fbsd.patch:
+ Fix building for ~x86-fbsd wrt #400929 by Naohiro Aota
20 May 2012; Samuli Suominen <ssuominen@gentoo.org>
-transmission-2.50-r1.ebuild, -transmission-2.50-r2.ebuild,
diff --git a/net-p2p/transmission/files/transmission-2.51-fbsd.patch b/net-p2p/transmission/files/transmission-2.51-fbsd.patch
new file mode 100644
index 000000000000..e6b588136802
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-2.51-fbsd.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/400929
+
+Ticket #6199 at upstream http://trac.transmissionbt.com/ (Waiting for moderation)
+
+--- third-party/libutp/utp.h
++++ third-party/libutp/utp.h
+@@ -12,7 +12,9 @@
+ #pragma comment(lib,"ws2_32.lib")
+ #else
+ #include <stdlib.h>
++#include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
+ #endif
+
diff --git a/net-p2p/transmission/transmission-2.51.ebuild b/net-p2p/transmission/transmission-2.51.ebuild
index cea88b259eee..9b967688df53 100644
--- a/net-p2p/transmission/transmission-2.51.ebuild
+++ b/net-p2p/transmission/transmission-2.51.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.51.ebuild,v 1.4 2012/05/20 20:50:04 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.51.ebuild,v 1.5 2012/05/20 21:06:32 ssuominen Exp $
EAPI=4
LANGS="en es kk lt pt_BR ru"
@@ -72,6 +72,8 @@ src_prepare() {
./update-version-h.sh
fi
+ epatch "${FILESDIR}"/${P}-fbsd.patch #400929
+
sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac
use ayatana || sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac