summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-06-07 12:11:21 +0000
committerSamuli Suominen <drac@gentoo.org>2008-06-07 12:11:21 +0000
commit46239e19ce2d46f8c4525781c3a1d0a8c3adc5d5 (patch)
treef3a0da4090107b0f8a7ef9888e641fe51ad93a85 /app-cdr
parentRemoved old versions. (diff)
downloadgentoo-2-46239e19ce2d46f8c4525781c3a1d0a8c3adc5d5.tar.gz
gentoo-2-46239e19ce2d46f8c4525781c3a1d0a8c3adc5d5.tar.bz2
gentoo-2-46239e19ce2d46f8c4525781c3a1d0a8c3adc5d5.zip
Fix building with GCC 4.3 and partly fix desktop entry, at least point to correct Category.
(Portage version: 2.1.5.4)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/koverartist/ChangeLog7
-rw-r--r--app-cdr/koverartist/files/koverartist-0.5-gcc43.patch26
-rw-r--r--app-cdr/koverartist/koverartist-0.5.ebuild9
3 files changed, 39 insertions, 3 deletions
diff --git a/app-cdr/koverartist/ChangeLog b/app-cdr/koverartist/ChangeLog
index 0311c79223b6..caaa94509b16 100644
--- a/app-cdr/koverartist/ChangeLog
+++ b/app-cdr/koverartist/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-cdr/koverartist
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/koverartist/ChangeLog,v 1.26 2008/02/19 01:08:41 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/koverartist/ChangeLog,v 1.27 2008/06/07 12:11:20 drac Exp $
+
+ 07 Jun 2008; Samuli Suominen <drac@gentoo.org>
+ +files/koverartist-0.5-gcc43.patch, koverartist-0.5.ebuild:
+ Fix building with GCC 4.3 and partly fix desktop entry, at least point to
+ correct Category.
19 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org>
koverartist-0.4.4.ebuild, koverartist-0.5.ebuild:
diff --git a/app-cdr/koverartist/files/koverartist-0.5-gcc43.patch b/app-cdr/koverartist/files/koverartist-0.5-gcc43.patch
new file mode 100644
index 000000000000..1acdb4f1918b
--- /dev/null
+++ b/app-cdr/koverartist/files/koverartist-0.5-gcc43.patch
@@ -0,0 +1,26 @@
+diff -ur koverartist.orig/src/cddbquery.cpp koverartist/src/cddbquery.cpp
+--- koverartist.orig/src/cddbquery.cpp 2006-11-01 12:42:59.000000000 +0200
++++ koverartist/src/cddbquery.cpp 2008-06-07 14:56:35.000000000 +0300
+@@ -34,7 +34,7 @@
+ #include <iostream>
+ #include <errno.h>
+ #include <string.h>
+-
++#include <stdlib.h>
+
+
+ #ifdef ENABLE_AUDIOCD
+diff -ur koverartist.orig/src/koverartist.desktop koverartist/src/koverartist.desktop
+--- koverartist.orig/src/koverartist.desktop 2006-03-15 16:05:27.000000000 +0200
++++ koverartist/src/koverartist.desktop 2008-06-07 14:55:28.000000000 +0300
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=KoverArtist
+ Name[xx]=xxKoverArtistxx
+ Exec=koverartist %i %m -caption "%c"
+@@ -41,3 +40,4 @@
+ Comment[xx]=xxA KDE KPart Applicationxx
+ Comment[zh_CN]=一个 KDE KPart 应用程序
+ Terminal=false
++Categories=DiscBurning;
diff --git a/app-cdr/koverartist/koverartist-0.5.ebuild b/app-cdr/koverartist/koverartist-0.5.ebuild
index e5c800e30bb1..8fddfb6b722a 100644
--- a/app-cdr/koverartist/koverartist-0.5.ebuild
+++ b/app-cdr/koverartist/koverartist-0.5.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/app-cdr/koverartist/koverartist-0.5.ebuild,v 1.9 2008/02/19 01:08:41 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/koverartist/koverartist-0.5.ebuild,v 1.10 2008/06/07 12:11:20 drac Exp $
inherit kde eutils
@@ -19,7 +19,12 @@ DEPEND="!app-cdr/kover
need-kde 3.3
-S="${WORKDIR}"/${PN}
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ kde_src_unpack
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
src_compile() {
if ! use cddb ; then