summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Dawson <pkdawson@gentoo.org>2004-08-26 00:34:50 +0000
committerPatrick Dawson <pkdawson@gentoo.org>2004-08-26 00:34:50 +0000
commit1196af214e6dee9007697c9693320f7f910b0c12 (patch)
tree02c790fec762cca15cb333ca5b69114a5e0be51c /media-sound/kmp
parentpatches made it into upstream (diff)
downloadhistorical-1196af214e6dee9007697c9693320f7f910b0c12.tar.gz
historical-1196af214e6dee9007697c9693320f7f910b0c12.tar.bz2
historical-1196af214e6dee9007697c9693320f7f910b0c12.zip
gcc34 fix + cleanup
Diffstat (limited to 'media-sound/kmp')
-rw-r--r--media-sound/kmp/ChangeLog5
-rw-r--r--media-sound/kmp/Manifest11
-rw-r--r--media-sound/kmp/files/kmp-0.01-gcc34.patch12
-rw-r--r--media-sound/kmp/kmp-0.01.ebuild12
4 files changed, 30 insertions, 10 deletions
diff --git a/media-sound/kmp/ChangeLog b/media-sound/kmp/ChangeLog
index eea7053020bf..7797d54bf1e8 100644
--- a/media-sound/kmp/ChangeLog
+++ b/media-sound/kmp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/kmp
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/ChangeLog,v 1.1 2004/08/08 00:40:59 pkdawson Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/ChangeLog,v 1.2 2004/08/26 00:34:50 pkdawson Exp $
+
+ 25 Aug 2004; Patrick Dawson <pkdawson@gentoo.org> kmp-0.01.ebuild :
+ Added a fix for gcc-3.4.
*kmp-0.01 (07 Aug 2004)
diff --git a/media-sound/kmp/Manifest b/media-sound/kmp/Manifest
index 50c32b9e2d52..9ad8fe500479 100644
--- a/media-sound/kmp/Manifest
+++ b/media-sound/kmp/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 d18259d3de5834db55b09949f0b339d9 kmp-0.01.ebuild 907
-MD5 2b33be22c8d6744131ceaa32b12a012e ChangeLog 319
+MD5 59ca9eb460d594d8acb22c3f8be15fcf kmp-0.01.ebuild 944
+MD5 e66ef888b180e361cebf9175c04309a2 ChangeLog 417
MD5 83c2574543d0501303b57050254e3880 metadata.xml 222
MD5 6f827d1afc639044d5838cbf0c834d85 files/digest-kmp-0.01 61
+MD5 367223b8cfcde84caf89a4f46cab4e8e files/kmp-0.01-gcc34.patch 483
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
-iD8DBQFBF88oE67gNkjlZFIRArTfAKCeSfPwiLAYQwRyR/zixety7qOtqwCfes5D
-oUOGi8kbSR0IhZQFh4g8xA8=
-=wmaT
+iD8DBQFBLTAvE67gNkjlZFIRAppFAKCARo9uWJjQXksaIUapUsHdLFVROACfaCOi
+SRNMJX2O/5v3rGAwfhNio7c=
+=kZhL
-----END PGP SIGNATURE-----
diff --git a/media-sound/kmp/files/kmp-0.01-gcc34.patch b/media-sound/kmp/files/kmp-0.01-gcc34.patch
new file mode 100644
index 000000000000..91205f086e81
--- /dev/null
+++ b/media-sound/kmp/files/kmp-0.01-gcc34.patch
@@ -0,0 +1,12 @@
+diff -ur kmp-0.01.orig/linkedlist.h kmp-0.01/linkedlist.h
+--- kmp-0.01.orig/linkedlist.h 2004-08-25 16:05:47.366049280 +0000
++++ kmp-0.01/linkedlist.h 2004-08-25 16:06:16.632600088 +0000
+@@ -121,7 +121,7 @@
+ int linkedList<ItemType>::add(ItemType Item, int location) {
+ node* parent;
+ node* nextspot;
+- if(!find(location, root_, parent)) return 0;
++ if(!find(location, root, parent)) return 0;
+ nextspot = parent->next;
+ parent->next = new node;
+ parent->next->next = nextspot;
diff --git a/media-sound/kmp/kmp-0.01.ebuild b/media-sound/kmp/kmp-0.01.ebuild
index af1a537a3fdb..5abd1dd7a2d5 100644
--- a/media-sound/kmp/kmp-0.01.ebuild
+++ b/media-sound/kmp/kmp-0.01.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/kmp-0.01.ebuild,v 1.1 2004/08/08 00:40:59 pkdawson Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/kmp-0.01.ebuild,v 1.2 2004/08/26 00:34:50 pkdawson Exp $
-inherit eutils
+inherit eutils kde-functions
+
+need-qt 3
DESCRIPTION="An MPD client that uses Qt"
HOMEPAGE="http://www.threadbox.net/kmp.php"
@@ -13,13 +15,15 @@ SLOT="0"
KEYWORDS="~x86"
IUSE=""
-DEPEND=">=x11-libs/qt-3.0"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/kmp-0.01-gcc34.patch
+}
src_compile() {
echo QMAKE_CFLAGS_RELEASE=${CFLAGS} >> kmp.pro
echo QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} >> kmp.pro
- addwrite ${QTDIR}/etc/settings
econf || die
emake || die
}