summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-22 04:20:46 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-22 04:20:46 +0000
commitd9f81eba3f9fd29deaf6dd3110199643ad55105d (patch)
tree2159853d52e6dad3de417e466ef2cdfe4c6e169f /games-util/gamepick/files/gamepick-0.30-paths.patch
parentadd support for USE=doc #99858 (diff)
downloadgentoo-2-d9f81eba3f9fd29deaf6dd3110199643ad55105d.tar.gz
gentoo-2-d9f81eba3f9fd29deaf6dd3110199643ad55105d.tar.bz2
gentoo-2-d9f81eba3f9fd29deaf6dd3110199643ad55105d.zip
initial import #76501 by gentoo_lan
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-util/gamepick/files/gamepick-0.30-paths.patch')
-rw-r--r--games-util/gamepick/files/gamepick-0.30-paths.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/games-util/gamepick/files/gamepick-0.30-paths.patch b/games-util/gamepick/files/gamepick-0.30-paths.patch
new file mode 100644
index 000000000000..e2c686a8d4be
--- /dev/null
+++ b/games-util/gamepick/files/gamepick-0.30-paths.patch
@@ -0,0 +1,26 @@
+--- load_lists.c
++++ load_lists.c
+@@ -50,7 +50,7 @@
+ }
+ }
+
+- g_string_assign (info->conf_file, "gamepick.conf");
++ g_string_assign (info->conf_file, "CONFDIR/gamepick.conf");
+ if (file_readable (info->conf_file->str))
+ return NULL;
+
+--- gamepick.h
++++ gamepick.h
+@@ -6,9 +6,9 @@
+
+ /* configure these to your own systems */
+ /* or overide them with -c <conf file> */
+-static const gchar default_cmd_dir[] = ".";
+-static const gchar default_icon_dir[] = ".";
+-static const gchar default_stage2[] = "./gamepick-stage2";
++static const gchar default_cmd_dir[] = "GAMES_BINDIR";
++static const gchar default_icon_dir[] = "GAMES_DATADIR";
++static const gchar default_stage2[] = "GAMES_BINDIR/gamepick-stage2";
+
+ enum browse_targets {bt_cmd, bt_icon};
+