Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307585 Details for
Bug 399867
games-action/minetest games-action/minetest_game: new ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
minetest-0.4_pre20120320-sharepath.patch
minetest-0.4_pre20120320-sharepath.patch (text/plain), 847 bytes, created by
Julian Ospald
on 2012-04-03 04:49:39 UTC
(
hide
)
Description:
minetest-0.4_pre20120320-sharepath.patch
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2012-04-03 04:49:39 UTC
Size:
847 bytes
patch
obsolete
>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 PROJECT_NAME "@PROJECT_NAME@" >+#define SHAREDIR "@SHAREDIR@" > #define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" > #define VERSION_STRING "@VERSION_STRING@" > #define USE_GETTEXT @USE_GETTEXT@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 399867
:
306625
|
307581
|
307583
|
307585
|
309883
|
309885
|
309887
|
309889
|
309891
|
309893
|
327946
|
327948
|
327950
|
327952