summaryrefslogtreecommitdiff
path: root/audio/amarok
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-02-15 11:22:48 +0000
committerwiz <wiz@pkgsrc.org>2009-02-15 11:22:48 +0000
commita483f1008e51601b364ee53d16401030c067a8bf (patch)
treeb2f9618651ece09ddf8f0670fa72ebf0ed1de516 /audio/amarok
parenteae696260bb303323d7b506fe37d302641a61f53 (diff)
downloadpkgsrc-a483f1008e51601b364ee53d16401030c067a8bf.tar.gz
Add patch from upstream, bump PKGREVISION:
SVN commit 917750 by nhnielsen: Fix for wikipedia tab not showing any info. Thanks to Helge Stenström and WarwickH at https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/316140 for the fix.
Diffstat (limited to 'audio/amarok')
-rw-r--r--audio/amarok/Makefile4
-rw-r--r--audio/amarok/distinfo3
-rw-r--r--audio/amarok/patches/patch-ac19
3 files changed, 23 insertions, 3 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile
index 1960cd42b8a..cce92e2ab61 100644
--- a/audio/amarok/Makefile
+++ b/audio/amarok/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.70 2009/02/09 22:56:21 joerg Exp $
+# $NetBSD: Makefile,v 1.71 2009/02/15 11:22:48 wiz Exp $
DISTNAME= amarok-${VERSION}
VERSION= 1.4.10
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE:=amarok/${VERSION}/src/}
EXTRACT_SUFX= .tar.bz2
diff --git a/audio/amarok/distinfo b/audio/amarok/distinfo
index 9e64eea0bfa..21cdd6cd353 100644
--- a/audio/amarok/distinfo
+++ b/audio/amarok/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.36 2009/01/12 12:33:39 wiz Exp $
+$NetBSD: distinfo,v 1.37 2009/02/15 11:22:48 wiz Exp $
SHA1 (amarok-1.4.10.tar.bz2) = cb0bebe99c6f4dc1b01601f2f3aee3a86da08fbd
RMD160 (amarok-1.4.10.tar.bz2) = f86c71dd0459e0cf1ff586cd6de240ca6501cf62
Size (amarok-1.4.10.tar.bz2) = 12812583 bytes
SHA1 (patch-aa) = 53316f334f45a8a4780ae71061d528374a75cb5a
SHA1 (patch-ab) = 91097c1d901fb66c5c8e593005c462b1874f50bf
+SHA1 (patch-ac) = ea6900aafc3cd99069ac59929ae14296662d095f
SHA1 (patch-ad) = eea8105897ce4cd9d4a086430ec0588125b3517b
diff --git a/audio/amarok/patches/patch-ac b/audio/amarok/patches/patch-ac
new file mode 100644
index 00000000000..c6d039bb289
--- /dev/null
+++ b/audio/amarok/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.3 2009/02/15 11:22:48 wiz Exp $
+
+SVN commit 917750 by nhnielsen:
+Fix for wikipedia tab not showing any info. Thanks to Helge Stenström
+and WarwickH at
+https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/316140 for
+the fix.
+
+--- amarok/src/contextbrowser.cpp.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/contextbrowser.cpp
+@@ -4189,7 +4189,7 @@ ContextBrowser::wikiResult( KIO::Job* jo
+ }
+
+ // Ok lets remove the top and bottom parts of the page
+- m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) );
++ m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\"" ) );
+ m_wiki = m_wiki.mid( 0, m_wiki.find( "<div class=\"printfooter\">" ) );
+ // Adding back license information
+ m_wiki += copyright;