summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-09 12:50:46 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-09 12:50:46 +0000
commit3b01ae5b7b455969051112e2e93f14bfc12b5121 (patch)
treeec91e89b6bda25e72388d524088fab5c9d4a1ba7 /app-pda/synce-kde
parentGcc4.3 fix; bug 217710 (diff)
downloadgentoo-2-3b01ae5b7b455969051112e2e93f14bfc12b5121.tar.gz
gentoo-2-3b01ae5b7b455969051112e2e93f14bfc12b5121.tar.bz2
gentoo-2-3b01ae5b7b455969051112e2e93f14bfc12b5121.zip
Add patch to build with GCC 4.3. Thanks to Peter Alfredsen (loki_val) in bug #219554.
(Portage version: 2.1.5.4)
Diffstat (limited to 'app-pda/synce-kde')
-rw-r--r--app-pda/synce-kde/ChangeLog9
-rw-r--r--app-pda/synce-kde/files/synce-kde-0.9.1+gcc-4.3.patch11
-rw-r--r--app-pda/synce-kde/synce-kde-0.9.1.ebuild8
3 files changed, 24 insertions, 4 deletions
diff --git a/app-pda/synce-kde/ChangeLog b/app-pda/synce-kde/ChangeLog
index 253e6d8cd226..ffd39846b80c 100644
--- a/app-pda/synce-kde/ChangeLog
+++ b/app-pda/synce-kde/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-pda/synce-kde
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-kde/ChangeLog,v 1.12 2007/02/21 22:59:41 peper Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-kde/ChangeLog,v 1.13 2008/06/09 12:50:46 flameeyes Exp $
+
+ 09 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/synce-kde-0.9.1+gcc-4.3.patch, synce-kde-0.9.1.ebuild:
+ Add patch to build with GCC 4.3. Thanks to Peter Alfredsen (loki_val) in
+ bug #219554.
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/app-pda/synce-kde/files/synce-kde-0.9.1+gcc-4.3.patch b/app-pda/synce-kde/files/synce-kde-0.9.1+gcc-4.3.patch
new file mode 100644
index 000000000000..db71cd76bbc2
--- /dev/null
+++ b/app-pda/synce-kde/files/synce-kde-0.9.1+gcc-4.3.patch
@@ -0,0 +1,11 @@
+
+--- synce-kde-0.9.1.orig/raki/matchmaker.cpp
++++ synce-kde-0.9.1/raki/matchmaker.cpp
+@@ -24,6 +24,7 @@
+ #include "rapiwrapper.h"
+ #include <klocale.h>
+ #include <kdebug.h>
++#include <cstdlib>
+
+ MatchMaker::MatchMaker(QString pdaName)
+ {
diff --git a/app-pda/synce-kde/synce-kde-0.9.1.ebuild b/app-pda/synce-kde/synce-kde-0.9.1.ebuild
index d3d7410983ab..0c703e54b218 100644
--- a/app-pda/synce-kde/synce-kde-0.9.1.ebuild
+++ b/app-pda/synce-kde/synce-kde-0.9.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-kde/synce-kde-0.9.1.ebuild,v 1.1 2006/10/09 02:08:15 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-kde/synce-kde-0.9.1.ebuild,v 1.2 2008/06/09 12:50:46 flameeyes Exp $
inherit kde
@@ -25,6 +25,10 @@ DEPEND=">=app-pda/synce-libsynce-0.9
need-kde 3.2
+PATCHES=(
+ "${FILESDIR}"/${P}+gcc-4.3.patch
+)
+
src_unpack() {
kde_src_unpack