openbsd-ports/www/chromium/patches/patch-third_party_icu_icu_gyp
2011-03-15 11:38:05 +00:00

22 lines
837 B
Plaintext

$OpenBSD: patch-third_party_icu_icu_gyp,v 1.3 2011/03/15 11:38:05 robert Exp $
--- third_party/icu/icu.gyp.orig Mon Mar 14 11:51:26 2011
+++ third_party/icu/icu.gyp Mon Mar 14 11:51:52 2011
@@ -54,7 +54,7 @@
}, { # else: OS != "win"
'sources!': ['icudt42.dll'],
}],
- [ 'OS != "linux" or chromeos == 1', {
+ [ '(OS != "linux" and OS != "openbsd") or chromeos == 1', {
'sources!': ['linux/icudt42l_dat.S'],
}],
[ 'OS != "mac"', {
@@ -232,7 +232,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': [