summaryrefslogtreecommitdiff
path: root/net/synergy/patches/patch-aa
blob: 43b79f6b8e74d1ff4857924f0f9a9bc29ac11b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.1 2006/08/17 14:02:23 taca Exp $

--- lib/arch/CArchFileUnix.cpp.orig	2005-04-24 12:02:12.000000000 +0900
+++ lib/arch/CArchFileUnix.cpp
@@ -80,7 +80,10 @@ CArchFileUnix::getUserDirectory()
 std::string
 CArchFileUnix::getSystemDirectory()
 {
-	return "/etc";
+#ifndef CONFIG_DIR
+#define CONFIG_DIR	"/etc"
+#endif
+	return CONFIG_DIR;
 }
 
 std::string