summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Gurr <tgurr@gentoo.org>2008-06-14 13:21:20 +0000
committerTimo Gurr <tgurr@gentoo.org>2008-06-14 13:21:20 +0000
commit1c116043ffb6c0ff75e812acf2ea3f4fa4831f01 (patch)
treec8f236fdb760dfdf880cd683259b9dd893b3525e /kde-misc
parentStable on ppc wrt bug 220615 (diff)
downloadgentoo-2-1c116043ffb6c0ff75e812acf2ea3f4fa4831f01.tar.gz
gentoo-2-1c116043ffb6c0ff75e812acf2ea3f4fa4831f01.tar.bz2
gentoo-2-1c116043ffb6c0ff75e812acf2ea3f4fa4831f01.zip
Fix kbeam-0.61-r1.ebuild, gcc43 compatibility bug #226363. Thanks Chi-Thanh Christopher Nguyen for providing the patch.
(Portage version: 2.1.5.4)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kbeam/ChangeLog9
-rw-r--r--kde-misc/kbeam/files/kbeam-0.61-gcc43.patch11
-rw-r--r--kde-misc/kbeam/kbeam-0.61-r1.ebuild14
3 files changed, 25 insertions, 9 deletions
diff --git a/kde-misc/kbeam/ChangeLog b/kde-misc/kbeam/ChangeLog
index 68a1caf61423..d8be30adce71 100644
--- a/kde-misc/kbeam/ChangeLog
+++ b/kde-misc/kbeam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/kbeam
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kbeam/ChangeLog,v 1.6 2006/09/28 17:45:13 deathwing00 Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kbeam/ChangeLog,v 1.7 2008/06/14 13:21:19 tgurr Exp $
+
+ 14 Jun 2008; Timo Gurr <tgurr@gentoo.org> +files/kbeam-0.61-gcc43.patch,
+ kbeam-0.61-r1.ebuild:
+ Fix kbeam-0.61-r1.ebuild, gcc43 compatibility bug #226363. Thanks
+ Chi-Thanh Christopher Nguyen for providing the patch.
28 Sep 2006; Ioannis Aslanidis <deathwing00@gentoo.org>
kbeam-0.61-r1.ebuild:
diff --git a/kde-misc/kbeam/files/kbeam-0.61-gcc43.patch b/kde-misc/kbeam/files/kbeam-0.61-gcc43.patch
new file mode 100644
index 000000000000..a55bbf42587b
--- /dev/null
+++ b/kde-misc/kbeam/files/kbeam-0.61-gcc43.patch
@@ -0,0 +1,11 @@
+diff -Naur kbeam-0.61/src/main.cpp kbeam-0.61.new/src/main.cpp
+--- kbeam-0.61/src/main.cpp 2004-09-01 23:16:04.000000000 +0200
++++ kbeam-0.61.new/src/main.cpp 2008-06-14 14:56:38.350783134 +0200
+@@ -18,6 +18,7 @@
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
++#include <stdlib.h>
+ #include <kaboutdata.h>
+ #include <klocale.h>
+ #include <kcmdlineargs.h>
diff --git a/kde-misc/kbeam/kbeam-0.61-r1.ebuild b/kde-misc/kbeam/kbeam-0.61-r1.ebuild
index 15e88ce0ca10..499a7d991e0b 100644
--- a/kde-misc/kbeam/kbeam-0.61-r1.ebuild
+++ b/kde-misc/kbeam/kbeam-0.61-r1.ebuild
@@ -1,13 +1,12 @@
-# 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/kde-misc/kbeam/kbeam-0.61-r1.ebuild,v 1.3 2006/09/28 17:45:13 deathwing00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kbeam/kbeam-0.61-r1.ebuild,v 1.4 2008/06/14 13:21:19 tgurr Exp $
inherit kde autotools
-KLV="14683"
DESCRIPTION="A KDE application that lets you send and receive files to devices, using your Infrared port."
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.kde-apps.org/content/show.php?content=${KLV}"
+HOMEPAGE="http://www.kde-apps.org/content/show.php?content=14683"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
@@ -18,13 +17,14 @@ DEPEND=">=dev-libs/openobex-1.1"
RDEPEND="${DEPEND}"
-PATCHES="${FILESDIR}/${P}-aclocal_openobex.patch"
-
-need-kde 3.2
+need-kde 3.5
src_unpack() {
kde_src_unpack
+ epatch "${FILESDIR}/${P}-aclocal_openobex.patch"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
#need it for using the AM_PATH_OPENOBEX definition installed in system
eaclocal && eautoconf || die "eaclocal or eautoconf has failed"
}