openbsd-ports/games/minetest/patches/patch-src_porting_cpp
2012-11-26 16:03:31 +00:00

13 lines
486 B
Plaintext

$OpenBSD: patch-src_porting_cpp,v 1.2 2012/11/26 16:03:31 sthen Exp $
--- src/porting.cpp.orig Tue Sep 4 23:31:06 2012
+++ src/porting.cpp Sat Nov 24 14:31:04 2012
@@ -318,7 +318,7 @@ void initializePaths()
path_user = std::string(getenv("HOME")) + "/Library/Application Support/" + PROJECT_NAME;
- #elif defined(__FreeBSD__)
+ #elif defined(__FreeBSD__) || defined(__OpenBSD__)
path_share = STATIC_SHAREDIR;
path_user = std::string(getenv("HOME")) + "/." + PROJECT_NAME;