From 4d79506772277d8e66fd69dbca48424e1f3983f3 Mon Sep 17 00:00:00 2001
From: Thomas Moulard <thomas.moulard@gmail.com>
Date: Fri, 12 Jul 2013 16:06:40 +0900
Subject: [PATCH] Disable OGER on FreeBSD

---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index b38f6ee2..10f00050 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,6 +43,8 @@ CONFIGURE_ARGS=	\
 # dc1394, v4l and ois are only available on Linux.
 ifneq ($(DEB_HOST_ARCH_OS),linux)
   CONFIGURE_ARGS += -DUSE_DC1394_2=OFF -DUSE_V4L2:BOOL=OFF -DUSE_OIS=OFF
+# OGRE support triggers ICE on FreeBSD, disable for now.
+  CONFIGURE_ARGS += -DUSE_OGRE=OFF
 else
   CONFIGURE_ARGS += -DUSE_DC1394_2=ON -DUSE_V4L2:BOOL=ON -DUSE_OIS=ON
 endif
-- 
GitLab