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

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-third_party_icu_icu_gyp,v 1.5 2011/06/08 20:36:56 robert Exp $
--- third_party/icu/icu.gyp.orig Mon Jun 6 11:14:23 2011
+++ third_party/icu/icu.gyp Wed Jun 8 09:58:37 2011
@@ -67,7 +67,7 @@
},
],
}],
- [ 'OS != "linux" or chromeos == 1', {
+ [ '(OS != "linux" and OS != "openbsd") or chromeos == 1', {
'sources!': ['linux/icudt46l_dat.S'],
}],
[ 'OS != "mac"', {
@@ -277,7 +277,7 @@
],
},
'conditions': [
- [ 'OS=="linux"', {
+ [ 'OS=="linux" or OS=="openbsd"', {
# Since ICU wants to internally use its own deprecated APIs, don't
# complain about it.
'cflags': [
@@ -492,7 +492,7 @@
'source/stubdata/stubdata.c',
],
}],
- [ 'OS == "linux"', {
+ [ 'OS == "linux" or OS=="openbsd"', {
'cflags': [
# Since ICU wants to internally use its own deprecated APIs,
# don't complain about it.