summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-05 19:08:57 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-05 19:08:57 +0000
commitb4706ab424d88e2b489167c49d47f3f4f5b77b83 (patch)
treeb9c7cc736917138f3f054489d442ad8dce4182a8 /media-sound/kradio
parentstable ppc64, bug 217841 (diff)
downloadgentoo-2-b4706ab424d88e2b489167c49d47f3f4f5b77b83.tar.gz
gentoo-2-b4706ab424d88e2b489167c49d47f3f4f5b77b83.tar.bz2
gentoo-2-b4706ab424d88e2b489167c49d47f3f4f5b77b83.zip
Fix building with GCC 4.3 wrt #219875 by Martin Väth.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'media-sound/kradio')
-rw-r--r--media-sound/kradio/ChangeLog6
-rw-r--r--media-sound/kradio/files/kradio-20061112-gcc43.patch11
-rw-r--r--media-sound/kradio/kradio-20061112-r1.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/media-sound/kradio/ChangeLog b/media-sound/kradio/ChangeLog
index b2c4aeda3ae7..2ae54b9d7e7d 100644
--- a/media-sound/kradio/ChangeLog
+++ b/media-sound/kradio/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/kradio
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/ChangeLog,v 1.17 2008/04/30 13:01:32 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/ChangeLog,v 1.18 2008/05/05 19:08:57 drac Exp $
+
+ 05 May 2008; Samuli Suominen <drac@gentoo.org>
+ +files/kradio-20061112-gcc43.patch, kradio-20061112-r1.ebuild:
+ Fix building with GCC 4.3 wrt #219875 by Martin Väth.
*kradio-20061112-r1 (30 Apr 2008)
diff --git a/media-sound/kradio/files/kradio-20061112-gcc43.patch b/media-sound/kradio/files/kradio-20061112-gcc43.patch
new file mode 100644
index 000000000000..a7e161061e03
--- /dev/null
+++ b/media-sound/kradio/files/kradio-20061112-gcc43.patch
@@ -0,0 +1,11 @@
+--- kradio3/plugins/lirc/lircsupport.cpp
++++ kradio3/plugins/lirc/lircsupport.cpp
+@@ -29,6 +29,8 @@
+ #include <kaboutdata.h>
+ #include <kstandarddirs.h>
+
++#include <cstdlib>
++
+ #include "../../src/include/errorlog-interfaces.h"
+ #include "../../src/include/radiodevice_interfaces.h"
+ #include "../../src/include/stationlist.h"
diff --git a/media-sound/kradio/kradio-20061112-r1.ebuild b/media-sound/kradio/kradio-20061112-r1.ebuild
index 6c2c4ffdd1ff..9f7d4118e76b 100644
--- a/media-sound/kradio/kradio-20061112-r1.ebuild
+++ b/media-sound/kradio/kradio-20061112-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/kradio-20061112-r1.ebuild,v 1.1 2008/04/30 13:01:32 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/kradio-20061112-r1.ebuild,v 1.2 2008/05/05 19:08:57 drac Exp $
inherit eutils kde
@@ -26,6 +26,7 @@ need-kde 3.5
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
sed -i kradio3/src/kradio.desktop -e 's:kradio\.png:kradio:'
rm configure
}