summaryrefslogtreecommitdiff
path: root/emulators/stella/patches/patch-ab
blob: 33e77b3cf7fe97b5fffb69da42a8fb010f6f1c5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.3 2004/08/13 16:12:25 dillo Exp $

--- ../unix/SettingsUNIX.cxx.orig	2004-07-05 02:53:48.000000000 +0200
+++ ../unix/SettingsUNIX.cxx
@@ -43,9 +43,9 @@ SettingsUNIX::SettingsUNIX()
     mkdir(myStateDir.c_str(), 0777);
 
   myUserPropertiesFile   = stelladir + "/stella.pro";
-  mySystemPropertiesFile = "/etc/stella.pro";
+  mySystemPropertiesFile = DATADIR "/stella.pro";
   myUserConfigFile       = stelladir + "/stellarc";
-  mySystemConfigFile     = "/etc/stellarc";
+  mySystemConfigFile     = PKG_SYSCONFDIR "/stellarc";
 
   // Set up the names of the input and output config files
   mySettingsOutputFilename = myUserConfigFile;