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 $
|
2011-03-02 01:47:40 -05:00
|
|
|
--- 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 {
|
2009-12-04 03:07:20 -05:00
|
|
|
static int initialized = 0;
|
|
|
|
static GList *excludes = NULL;
|
|
|
|
static char *static_excludes[] = {
|
|
|
|
-#ifdef HAVE_LINUX
|
|
|
|
+#if defined HAVE_LINUX || defined __OpenBSD__
|
|
|
|
"/media/*",
|
|
|
|
"/mnt/*",
|
|
|
|
"/dev/*",
|
2011-03-02 01:47:40 -05:00
|
|
|
"/proc/*",
|
|
|
|
+ "/usr/obj/*",
|
2011-07-31 03:22:08 -04:00
|
|
|
+ "/usr/xobj/*",
|
2011-03-02 01:47:40 -05:00
|
|
|
+ "/usr/ports/pobj/*",
|
|
|
|
#endif
|
|
|
|
NULL
|
|
|
|
};
|