openbsd-ports/sysutils/gamin/patches/patch-server_gam_excludes_c

20 lines
542 B
Plaintext
Raw Normal View History

2011-07-31 03:22:08 -04:00
$OpenBSD: patch-server_gam_excludes_c,v 1.3 2011/07/31 07:22:08 ajacoutot Exp $
--- server/gam_excludes.c.orig Wed Jul 4 15:36:49 2007
2011-07-31 03:22:08 -04:00
+++ server/gam_excludes.c Sun Jul 31 09:20:57 2011
@@ -20,11 +20,14 @@ struct _gam_exclude {
static int initialized = 0;
static GList *excludes = NULL;
static char *static_excludes[] = {
-#ifdef HAVE_LINUX
+#if defined HAVE_LINUX || defined __OpenBSD__
"/media/*",
"/mnt/*",
"/dev/*",
"/proc/*",
+ "/usr/obj/*",
2011-07-31 03:22:08 -04:00
+ "/usr/xobj/*",
+ "/usr/ports/pobj/*",
#endif
NULL
};