openbsd-ports/www/chromium/patches/patch-base_base_gyp
2011-09-19 08:55:26 +00:00

18 lines
498 B
Plaintext

$OpenBSD: patch-base_base_gyp,v 1.7 2011/09/19 08:55:26 robert Exp $
--- base/base.gyp.orig Wed Sep 14 10:01:29 2011
+++ base/base.gyp Fri Sep 16 18:17:22 2011
@@ -293,6 +293,13 @@
],
}],
],
+ 'conditions': [
+ [ 'OS == "openbsd"', {
+ # fdatasync is not implemented on OpenBSD
+ 'sources/': [ ['exclude', '^test/test_file_util_linux.cc$'] ],
+ },
+ ],
+ ],
},
{
'target_name': 'test_support_base',