diff options
Diffstat (limited to 'games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch')
-rw-r--r-- | games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch b/games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch deleted file mode 100644 index 41ca76a99..000000000 --- a/games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Julian Ospald <julian.ospald@googlemail.com> -Date: Tue Apr 3 03:33:30 UTC 2012 - -make path_share look explicitly in SHAREDIR instead of potentially-broken -relative path - ---- src/porting.cpp -+++ src/porting.cpp -@@ -244,7 +244,7 @@ - - pathRemoveFile(buf, '/'); - -- path_share = std::string(buf) + "/../share/" + PROJECT_NAME; -+ path_share = std::string(SHAREDIR); - //path_share = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME; - if (!fs::PathExists(path_share)) { - dstream<<"WARNING: system-wide share not found at \""<<path_share<<"\""; ---- src/cmake_config.h.in -+++ src/cmake_config.h.in -@@ -4,6 +4,7 @@ - #define CMAKE_CONFIG_H - - #define CMAKE_PROJECT_NAME "@PROJECT_NAME@" -+#define SHAREDIR "@SHAREDIR@" - #define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" - #define CMAKE_VERSION_STRING "@VERSION_STRING@" - #ifdef NDEBUG |