summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-02-28 16:01:17 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-02-28 16:01:17 +0000
commitb49381ebf99101c6458c2dde9c93d91eaa24b969 (patch)
tree496b73775de2b27740086c8bbc662ee090b098e5
parent[bump] dev-perl/IO-Socket-SSL-1.580.0 (diff)
downloadgentoo-2-b49381ebf99101c6458c2dde9c93d91eaa24b969.tar.gz
gentoo-2-b49381ebf99101c6458c2dde9c93d91eaa24b969.tar.bz2
gentoo-2-b49381ebf99101c6458c2dde9c93d91eaa24b969.zip
Make log 2 home patch strictly python 2
(Portage version: 2.1.10.44/cvs/Linux x86_64)
-rw-r--r--net-p2p/tribler/ChangeLog6
-rw-r--r--net-p2p/tribler/files/tribler-log2homedir.patch2
2 files changed, 6 insertions, 2 deletions
diff --git a/net-p2p/tribler/ChangeLog b/net-p2p/tribler/ChangeLog
index 005b8e1dac8c..18cf5c5184d4 100644
--- a/net-p2p/tribler/ChangeLog
+++ b/net-p2p/tribler/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/tribler
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.4 2012/02/14 20:52:53 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.5 2012/02/28 16:01:17 blueness Exp $
+
+ 28 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
+ files/tribler-log2homedir.patch:
+ Make log 2 home patch strictly python 2
14 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
+files/tribler-fix-global-declarations.patch,
diff --git a/net-p2p/tribler/files/tribler-log2homedir.patch b/net-p2p/tribler/files/tribler-log2homedir.patch
index 204b4f5106a4..2f86c95ccf15 100644
--- a/net-p2p/tribler/files/tribler-log2homedir.patch
+++ b/net-p2p/tribler/files/tribler-log2homedir.patch
@@ -9,4 +9,4 @@ diff -Naur usr.orig/bin/tribler usr/bin/tribler
+[ ! -d $STATEDIR ] && mkdir -p $STATEDIR
cd $_TRIBLERPATH
-exec python -O Tribler/Main/tribler.py "$@" > /tmp/$USER-tribler.log 2>&1
-+exec python -O Tribler/Main/tribler.py "$@" > $STATEDIR/tribler.log 2>&1
++exec python2 -O Tribler/Main/tribler.py "$@" > $STATEDIR/tribler.log 2>&1