summaryrefslogtreecommitdiff
path: root/misc/celestia/patches/patch-ad
blob: 45cd61c9a3eee17a981d2eabc3d4ebd880c63fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.3 2006/02/17 23:46:40 adam Exp $

--- src/celestia/celestiacore.cpp.orig	2006-02-08 10:03:15.000000000 +0100
+++ src/celestia/celestiacore.cpp
@@ -3547,7 +3547,7 @@ bool CelestiaCore::initSimulation(const 
     }
     else
     {
-        config = ReadCelestiaConfig("celestia.cfg");
+        config = ReadCelestiaConfig(PKG_SYSCONFDIR "/celestia.cfg");
 
         string localConfigFile = WordExp("~/.celestia.cfg");
         if (localConfigFile != "")