openbsd-ports/www/chromium/patches/patch-base_base_gypi
espie ae6e8f236b late update to chromium 9, robert@ did the work, but he doesn't have the
time right now.
Tree is still locked!
Reasons for the update:
- good work that can be used now
- only builds on i386/amd64, and they're fast
- multiple security problems in old chrome
- old chrome half working, can't break it more than it was.

This one requires resources (see MESSAGE), but it's ways more stable.

Again, discussed with sthen@, jasper@, naddy@, miod@
2011-02-08 09:43:02 +00:00

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-base_base_gypi,v 1.2 2011/02/08 09:43:02 espie Exp $
--- base/base.gypi.orig Fri Jan 21 10:20:15 2011
+++ base/base.gypi Mon Jan 24 14:21:18 2011
@@ -352,12 +352,11 @@
'message_pump_glib_x.cc',
],
}],
- [ 'OS != "linux"', {
+ [ 'OS != "linux" or OS != "openbsd"', {
'sources!': [
# Not automatically excluded by the *linux.cc rules.
'gtk_util.cc',
'gtk_util.h',
- 'linux_util.cc',
'setproctitle_linux.c',
'setproctitle_linux.h',
],
@@ -640,6 +639,11 @@
],
},],
[ 'OS == "freebsd" or OS == "openbsd"', {
+ 'sources!': [
+ 'file_util_linux.cc',
+ 'process_linux.cc',
+ ],
+ 'include_dirs': [ '/usr/local/include' ],
'link_settings': {
'libraries': [
'-L/usr/local/lib -lexecinfo',
@@ -714,7 +718,7 @@
},
],
}],
- [ 'OS == "linux" and internal_pdf', {
+ [ '(OS == "linux" or OS == "openbsd") and internal_pdf', {
'targets': [
{
'target_name': 'base_fpic',