openbsd-ports/sysutils/gamin/patches/patch-server_gam_conf_c
ajacoutot 494093ce60 Import (lib,py-)gamin-0.1.10
Gamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system.
The main goals of the project are:
  * minimize the security model of FAM
  * simplify the code base
  * provide an API and ABI compatible replacement for FAM
  * try to fix some other issues like resource consumption

works for bernd@
ok landry@ jasper@
2009-12-04 08:07:20 +00:00

15 lines
623 B
Plaintext

$OpenBSD: patch-server_gam_conf_c,v 1.1.1.1 2009/12/04 08:07:20 ajacoutot Exp $
--- server/gam_conf.c.orig Fri Jun 19 16:20:20 2009
+++ server/gam_conf.c Fri Jun 19 16:20:38 2009
@@ -108,8 +108,8 @@ gam_conf_read_internal (const char *filename)
void
gam_conf_read (void)
{
- const char *globalconf = "/etc/gamin/gaminrc";
- const char *mandatory = "/etc/gamin/mandatory_gaminrc";
+ const char *globalconf = "${SYSCONFDIR}/gamin/gaminrc";
+ const char *mandatory = "${SYSCONFDIR}/gamin/mandatory_gaminrc";
gchar *userconf = NULL;
userconf = g_strconcat(g_get_home_dir(), "/.gaminrc", NULL);
if (userconf == NULL) {