summaryrefslogtreecommitdiff
path: root/audio/amarok/patches
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/patches
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/patches')
-rw-r--r--audio/amarok/patches/patch-ac19
1 files changed, 19 insertions, 0 deletions
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;