$OpenBSD: patch-third_party_webrtc_modules_video_render_video_render_gypi,v 1.3 2014/01/18 11:42:04 robert Exp $
--- third_party/webrtc/modules/video_render/video_render.gypi.orig.port	Mon Jan 13 22:01:58 2014
+++ third_party/webrtc/modules/video_render/video_render.gypi	Thu Jan 16 12:26:42 2014
@@ -103,7 +103,7 @@
             'ios/video_render_ios_view.mm',
           ],
         }],
-        ['OS!="linux" or include_internal_video_render==0', {
+        ['(OS!="linux" and OS!="openbsd") or include_internal_video_render==0', {
           'sources!': [
             'linux/video_render_linux_impl.h',
             'linux/video_x11_channel.h',
@@ -196,7 +196,7 @@
             'test/testAPI/testAPI_mac.mm',
           ],
           'conditions': [
-            ['OS=="mac" or OS=="linux"', {
+            ['OS=="mac" or OS=="linux" or OS=="openbsd"', {
               'cflags': [
                 '-Wno-write-strings',
               ],
@@ -204,9 +204,8 @@
                 '-lpthread -lm',
               ],
             }],
-            ['OS=="linux"', {
+            ['OS=="linux" or OS=="openbsd"', {
               'libraries': [
-                '-lrt',
                 '-lXext',
                 '-lX11',
               ],
