diff -ruN --exclude=CVS ../openvanilla-modules.orig/Makefile ./Makefile --- ../openvanilla-modules.orig/Makefile 2012-05-06 21:42:36.000000000 +0800 +++ ./Makefile 2012-05-07 09:52:04.000000000 +0800 @@ -37,8 +37,8 @@ .include -.if ${OSVERSION} >= 800501 -BROKEN= does not build +.if (${OSVERSION} >= 800501) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Modules-SharedSource-OVCINInfo.cpp .endif .if !defined(WITHOUT_OVIMArray) diff -ruN --exclude=CVS ../openvanilla-modules.orig/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp ./files/extra-patch-Modules-SharedSource-OVCINInfo.cpp --- ../openvanilla-modules.orig/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp 1970-01-01 08:00:00.000000000 +0800 +++ ./files/extra-patch-Modules-SharedSource-OVCINInfo.cpp 2012-05-07 09:52:04.000000000 +0800 @@ -0,0 +1,11 @@ +--- Modules/SharedSource/OVCINInfo.cpp.orig 2012-05-06 21:47:52.000000000 +0800 ++++ Modules/SharedSource/OVCINInfo.cpp 2012-05-06 22:02:40.000000000 +0800 +@@ -67,7 +67,7 @@ + } + + #ifndef WIN32 +- #ifdef __linux__ ++ #if defined (__linux__) || defined (__FreeBSD__) + int CLFileSelect(const struct dirent *entry) + #else + int CLFileSelect(struct dirent *entry)