$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
+++ 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/*",
+    "/usr/xobj/*",
+    "/usr/ports/pobj/*",
 #endif
     NULL
 };
