summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-06-03 17:11:35 +0000
committerDror Levin <spatz@gentoo.org>2010-06-03 17:11:35 +0000
commite33077735e3cf49414472b680e6d183b3d03f71a (patch)
tree3c27000069ed519b5844caeec2cad0fa5a2c6ede /kde-misc
parentold (diff)
downloadgentoo-2-e33077735e3cf49414472b680e6d183b3d03f71a.tar.gz
gentoo-2-e33077735e3cf49414472b680e6d183b3d03f71a.tar.bz2
gentoo-2-e33077735e3cf49414472b680e6d183b3d03f71a.zip
Fix building with gcc 4.5, bug 322647.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/ktrafficanalyzer/ChangeLog8
-rw-r--r--kde-misc/ktrafficanalyzer/files/ktrafficanalyzer-0.5.3-gcc45.patch12
-rw-r--r--kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild8
3 files changed, 24 insertions, 4 deletions
diff --git a/kde-misc/ktrafficanalyzer/ChangeLog b/kde-misc/ktrafficanalyzer/ChangeLog
index 5f4b761c415e..6ecb353c5b15 100644
--- a/kde-misc/ktrafficanalyzer/ChangeLog
+++ b/kde-misc/ktrafficanalyzer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-misc/ktrafficanalyzer
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/ktrafficanalyzer/ChangeLog,v 1.3 2009/12/10 16:33:30 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/ktrafficanalyzer/ChangeLog,v 1.4 2010/06/03 17:11:35 spatz Exp $
+
+ 03 Jun 2010; Dror Levin <spatz@gentoo.org> ktrafficanalyzer-0.5.3.ebuild,
+ +files/ktrafficanalyzer-0.5.3-gcc45.patch:
+ Fix building with gcc 4.5, bug 322647.
*ktrafficanalyzer-0.5.3 (10 Dec 2009)
diff --git a/kde-misc/ktrafficanalyzer/files/ktrafficanalyzer-0.5.3-gcc45.patch b/kde-misc/ktrafficanalyzer/files/ktrafficanalyzer-0.5.3-gcc45.patch
new file mode 100644
index 000000000000..3fa571549adb
--- /dev/null
+++ b/kde-misc/ktrafficanalyzer/files/ktrafficanalyzer-0.5.3-gcc45.patch
@@ -0,0 +1,12 @@
+diff -ru KTrafficAnalyzer-0.5.3-orig/lib/SYSTrafficInterface.cpp KTrafficAnalyzer-0.5.3/lib/SYSTrafficInterface.cpp
+--- KTrafficAnalyzer-0.5.3-orig/lib/SYSTrafficInterface.cpp 2009-12-10 16:03:34.000000000 +0200
++++ KTrafficAnalyzer-0.5.3/lib/SYSTrafficInterface.cpp 2010-06-03 20:08:38.242803467 +0300
+@@ -21,7 +21,7 @@
+ SYSTrafficInterface::SYSTrafficInterface() {
+ // printf( "Constructor of SYSTrafficInterface!\n" );
+
+- TrafficInterface::TrafficInterface();
++ TrafficInterface();
+ }
+
+ //Read traffic differences for interface interfaceName
diff --git a/kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild b/kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild
index e159b0395954..4f8eff96fccb 100644
--- a/kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild
+++ b/kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild,v 1.1 2009/12/10 16:33:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/ktrafficanalyzer/ktrafficanalyzer-0.5.3.ebuild,v 1.2 2010/06/03 17:11:35 spatz Exp $
EAPI=2
inherit kde4-base
@@ -18,4 +18,8 @@ IUSE="debug"
S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}/${P}-gcc45.patch"
+)
+
DOCS="CHANGELOG SSHUsage TODO"