$OpenBSD: patch-chrome_browser_web_applications_web_app_cc,v 1.7 2013/12/12 10:43:18 robert Exp $
--- chrome/browser/web_applications/web_app.cc.orig.port	Thu Dec  5 17:03:43 2013
+++ chrome/browser/web_applications/web_app.cc	Thu Dec  5 17:03:49 2013
@@ -228,7 +228,7 @@ void GetIconsInfo(const WebApplicationInfo& app_info,
 }
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 std::string GetWMClassFromAppName(std::string app_name) {
   file_util::ReplaceIllegalCharactersInPath(&app_name, '_');
   TrimString(app_name, "_", &app_name);
