[egoboo] Paths had been changed in wrong part of ifdef

Bruno Wolff III bruno at fedoraproject.org
Tue Mar 13 02:52:32 UTC 2012


commit 9f27774eead73ed3d34cb9387c91ec3e45617b98
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sun Mar 11 17:27:39 2012 -0500

    Paths had been changed in wrong part of ifdef

 egoboo-paths.patch |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/egoboo-paths.patch b/egoboo-paths.patch
index 92ee2ab..1a52e59 100644
--- a/egoboo-paths.patch
+++ b/egoboo-paths.patch
@@ -1,15 +1,15 @@
---- src/game/platform/file_linux.c.orig	2012-03-11 14:54:05.615088067 -0500
-+++ src/game/platform/file_linux.c	2012-03-11 14:56:26.945050377 -0500
-@@ -74,9 +74,9 @@
-     // so that the program will compile and install just like any other
-     // .rpm or .deb package.
- 
--    strncpy( linux_configPath, PREFIX "/etc/egoboo-2.x",         SDL_arraysize( linux_configPath ) );
--    strncpy( linux_binaryPath, PREFIX "/games/",                  SDL_arraysize( linux_binaryPath ) );
--    strncpy( linux_dataPath,   PREFIX "/share/games/egoboo-2.x", SDL_arraysize( linux_dataPath ) );
-+    strncpy( linux_configPath, "/etc/egoboo",         SDL_arraysize( linux_configPath ) );
-+    strncpy( linux_binaryPath, "/usr/bin/",                  SDL_arraysize( linux_binaryPath ) );
-+    strncpy( linux_dataPath,   "/usr/share/egoboo", SDL_arraysize( linux_dataPath ) );
+--- src/game/platform/file_linux.c.orig	2012-03-11 17:25:58.258258157 -0500
++++ src/game/platform/file_linux.c	2012-03-11 17:27:08.258154782 -0500
+@@ -79,9 +79,9 @@
+     strncpy( linux_dataPath,   PREFIX "/share/games/egoboo-2.x", SDL_arraysize( linux_dataPath ) );
  #else
      // these are read-only directories
-     strncpy( linux_configPath, "/etc/egoboo-2.x/",         SDL_arraysize( linux_configPath ) );
+-    strncpy( linux_configPath, "/etc/egoboo-2.x/",         SDL_arraysize( linux_configPath ) );
+-    strncpy( linux_binaryPath, "/games/",                  SDL_arraysize( linux_binaryPath ) );
+-    strncpy( linux_dataPath,   "/share/games/egoboo-2.x/", SDL_arraysize( linux_dataPath ) );
++    strncpy( linux_configPath, "/etc/egoboo/",         SDL_arraysize( linux_configPath ) );
++    strncpy( linux_binaryPath, "/usr/bin",                  SDL_arraysize( linux_binaryPath ) );
++    strncpy( linux_dataPath,   "/usr/share/games/egoboo/", SDL_arraysize( linux_dataPath ) );
+ #endif
+ 
+     // the log file cannot be started until there is a user data path to dump the file into


More information about the scm-commits mailing list