$OpenBSD: patch-third_party_pdfium_build_standalone_gypi,v 1.9 2016/04/16 19:08:46 robert Exp $
--- third_party/pdfium/build/standalone.gypi.orig.port	Wed Apr 13 23:01:22 2016
+++ third_party/pdfium/build/standalone.gypi	Thu Apr 14 08:25:14 2016
@@ -18,7 +18,7 @@
       'variables': {
         'variables': {
           'conditions': [
-            ['OS=="linux" or OS=="mac"', {
+            ['OS=="linux" or OS=="mac" or OS=="openbsd"', {
               # This handles the Unix platforms we generally deal with.
               # Anything else gets passed through, which probably won't work
               # very well; such hosts should pass an explicit target_arch
@@ -139,7 +139,7 @@
           },
         },
         'conditions': [
-          ['OS=="linux"', {
+          ['OS=="linux" or OS=="openbsd"', {
             'cflags': [
               '-fdata-sections',
               '-ffunction-sections',
