You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2-gentoo.diff

25 lines
997 B

diff -Naur freecell-0.0.2.orig/cards.c freecell-0.0.2/cards.c
--- freecell-0.0.2.orig/cards.c 2007-01-08 22:50:05.921165375 +0100
+++ freecell-0.0.2/cards.c 2007-01-08 22:53:55.358240251 +0100
@@ -34,7 +34,7 @@
mShape = Shape;
mValue = Value;
- asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("freecell"),
+ asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell"),
ShapeNames[mShape], ValueNames[mValue]);
::LoadXpm(this, filename);
free(filename);
diff -Naur freecell-0.0.2.orig/cursor.c freecell-0.0.2/cursor.c
--- freecell-0.0.2.orig/cursor.c 2007-01-08 22:50:05.921165375 +0100
+++ freecell-0.0.2/cursor.c 2007-01-08 22:52:58.234984984 +0100
@@ -8,7 +8,7 @@
mX = mY = -1;
- asprintf(&filename, "%s/cursor.xpm", cPlugin::ConfigDirectory("freecell"));
+ asprintf(&filename, "%s/cursor.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell"));
::LoadXpm(this, filename, clrTransparent);
free(filename);
}