openbsd-ports/www/chromium/patches/patch-base_base_gyp

18 lines
498 B
Plaintext

$OpenBSD: patch-base_base_gyp,v 1.5 2011/06/08 20:36:56 robert Exp $
--- base/base.gyp.orig Mon Jun 6 11:11:47 2011
+++ base/base.gyp Wed Jun 8 09:58:35 2011
@@ -272,6 +272,13 @@
],
}],
],
+ 'conditions': [
+ [ 'OS == "openbsd"', {
+ # fdatasync is not implemented on OpenBSD
+ 'sources/': [ ['exclude', '^test/test_file_util_linux.cc$'] ],
+ },
+ ],
+ ],
},
{
'target_name': 'test_support_base',