summaryrefslogtreecommitdiff
path: root/debian/patches/12-fix_gamespot_images.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-26 06:05:10 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-26 06:05:10 +0200
commitb1721ea5cdcf95258147229cf6ddd1c9463bf914 (patch)
tree40005b070dc8990d4cf8648c3f8c5b61e08933fc /debian/patches/12-fix_gamespot_images.patch
parentd7409826e3b2c752dde41221bad0dc7a55c356a0 (diff)
patches for some plugins
Diffstat (limited to 'debian/patches/12-fix_gamespot_images.patch')
-rw-r--r--debian/patches/12-fix_gamespot_images.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/12-fix_gamespot_images.patch b/debian/patches/12-fix_gamespot_images.patch
new file mode 100644
index 0000000..5cd7675
--- /dev/null
+++ b/debian/patches/12-fix_gamespot_images.patch
@@ -0,0 +1,20 @@
+Description: fix GameSport games plugin box image loading
+Author: Marc Deslauriers <marc.deslauriers@canonical.com>
+Forwarded: http://forums.gcstar.org/viewtopic.php?id=18073
+
+Caution: this patch contains CRLF terminators,
+be careful when editing.
+
+Index: gcstar-1.7.0/lib/gcstar/GCPlugins/GCgames/GCGameSpot.pm
+===================================================================
+--- gcstar-1.7.0.orig/lib/gcstar/GCPlugins/GCgames/GCGameSpot.pm 2013-08-07 16:53:27.752460660 -0400
++++ gcstar-1.7.0/lib/gcstar/GCPlugins/GCgames/GCGameSpot.pm 2013-08-07 20:19:30.932342756 -0400
+@@ -102,7 +102,7 @@
+ {
+ $self->{curInfo}->{boxpic} = ' '
+ if $attr->{src} =~ /no_preview/;
+- if ((! $self->{curInfo}->{boxpic}) && ($attr->{src} =~ /[^xo]boxs[^c]/))
++ if ((! $self->{curInfo}->{boxpic}) && ($attr->{src} =~ /\/box\//))
+ {
+ $self->{curInfo}->{boxpic} = $attr->{src};
+ }