$OpenBSD: patch-content_content_browser_gypi,v 1.42 2016/05/27 06:28:21 robert Exp $
--- content/content_browser.gypi.orig.port	Wed May 25 21:01:01 2016
+++ content/content_browser.gypi	Thu May 26 08:09:46 2016
@@ -2013,7 +2013,7 @@
         },
       },
     }],
-    ['OS=="linux" and chromeos==0 and use_x11==1', {
+    ['(os_bsd==1 or OS=="linux") and chromeos==0 and use_x11==1', {
       'dependencies': [
         '../build/linux/system.gyp:atk',
         '../build/linux/system.gyp:gconf',
@@ -2040,7 +2040,7 @@
         'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
       ],
     }],
-    ['OS=="linux" and use_aura==1', {
+    ['(os_bsd==1 or OS=="linux") and use_aura==1', {
       'dependencies': [
         '../build/linux/system.gyp:fontconfig',
       ],
@@ -2131,9 +2131,25 @@
       ],
     }],
     ['os_bsd==1', {
-      'sources/': [
-        ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'],
+      'sources!': [
+        'public/browser/zygote_host_linux.h',
+        'browser/zygote_host/zygote_communication_linux.cc',
+        'browser/zygote_host/zygote_communication_linux.h',
+        'browser/zygote_host/zygote_handle_linux.cc',
+        'browser/zygote_host/zygote_host_impl_linux.cc',
+        'browser/zygote_host/zygote_host_impl_linux.h',
+        'zygote/zygote_linux.cc',
+        'zygote/zygote_linux.h',
+        'zygote/zygote_main_linux.cc',
+        'browser/device_monitor_linux.cc',
+        'browser/download/file_metadata_linux.cc',
+        'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
+        'browser/geolocation/wifi_data_provider_linux.cc',
+        'browser/udev_linux.cc',
       ],
+      'dependencies': [
+        '../build/linux/system.gyp:dbus',
+      ],
     }],
     ['use_aura==1', {
       'dependencies': [
@@ -2181,10 +2197,7 @@
         'browser/geolocation/empty_wifi_data_provider.cc',
       ],
     }],
-    ['OS == "linux" and use_dbus==1', {
-      'sources!': [
-        'browser/geolocation/empty_wifi_data_provider.cc',
-      ],
+    ['(OS == "linux" or os_bsd==1) and use_dbus==1', {
       'dependencies': [
         '../build/linux/system.gyp:dbus',
         '../dbus/dbus.gyp:dbus',
@@ -2200,7 +2213,7 @@
         'browser/media/cdm/browser_cdm_manager.h',
       ],
     }],
-    ['OS == "linux"', {
+    ['(os_bsd==1 or OS == "linux")', {
       'dependencies': [
         '../third_party/boringssl/boringssl.gyp:boringssl',
       ],
