summaryrefslogtreecommitdiff
path: root/debian/patches/12-fix_gamespot_images.patch
diff options
context:
space:
mode:
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};
+ }