ebcd261201
Upstream changes: 5+ years of development; try these links: http://www.shatters.net/celestia/161changes.txt http://www.shatters.net/celestia/features/160-features.html http://www.shatters.net/celestia/151changes.txt http://www.shatters.net/celestia/150-feature-summary.html Restrictions: 1. The Lua support still does not build, and given that I had to patch it to compile at all with Lua disabled it may not work all that well this way. 2. The optional KDE (kde3) build is almost certainly broken; I will get to this in a few days if nobody beats me to it.
15 lines
503 B
Text
15 lines
503 B
Text
$NetBSD: patch-ad,v 1.5 2013/10/27 21:21:26 dholland Exp $
|
|
|
|
Honor PKG_SYSCONFDIR.
|
|
|
|
--- src/celestia/celestiacore.cpp.orig 2011-06-05 16:11:13.000000000 +0000
|
|
+++ src/celestia/celestiacore.cpp
|
|
@@ -4103,7 +4103,7 @@ bool CelestiaCore::initSimulation(const
|
|
}
|
|
else
|
|
{
|
|
- config = ReadCelestiaConfig("celestia.cfg");
|
|
+ config = ReadCelestiaConfig(PKG_SYSCONFDIR "/celestia.cfg");
|
|
|
|
string localConfigFile = WordExp("~/.celestia.cfg");
|
|
if (localConfigFile != "")
|