openbsd-ports/www/chromium/patches/patch-chrome_chrome_browser_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

63 lines
2.6 KiB
Plaintext

$OpenBSD: patch-chrome_chrome_browser_gypi,v 1.2 2011/02/08 09:43:02 espie Exp $
--- chrome/chrome_browser.gypi.orig Fri Jan 21 10:20:41 2011
+++ chrome/chrome_browser.gypi Mon Jan 24 14:09:16 2011
@@ -3496,7 +3496,7 @@
['exclude', '^browser/views/tab_contents/tab_contents_view_gtk.h'],
],
}],
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
'dependencies': [
'../build/linux/system.gyp:dbus-glib',
'../build/linux/system.gyp:gconf',
@@ -3509,12 +3509,12 @@
'link_settings': {
'libraries': [
# For dlsym() in 'browser/zygote_main_linux.cc'
- '-ldl',
],
},
'sources!': [
'browser/ui/views/extensions/extension_view.cc',
'browser/ui/views/extensions/extension_view.h',
+ 'browser/file_path_watcher_inotify.cc',
],
'sources': [
'browser/crash_handler_host_linux.h',
@@ -3569,7 +3569,6 @@
'browser/certificate_manager_model.h',
'browser/dom_ui/options/certificate_manager_handler.cc',
'browser/dom_ui/options/certificate_manager_handler.h',
- 'browser/file_path_watcher_inotify.cc',
],
}],
['OS=="freebsd" or OS=="openbsd"', {
@@ -3581,7 +3580,18 @@
],
'sources': [
'browser/file_path_watcher_stub.cc',
+ #'browser/geolocation/gateway_data_provider_bsd.cc',
+ #'browser/geolocation/gateway_data_provider_bsd.h',
],
+ 'sources!': [
+ #'browser/geolocation/empty_device_data_provider.cc',
+ #'browser/geolocation/empty_device_data_provider.h',
+ 'browser/geolocation/gateway_data_provider_linux.cc',
+ 'browser/geolocation/gateway_data_provider_linux.h',
+ 'browser/geolocation/wifi_data_provider_linux.h',
+ 'browser/geolocation/wifi_data_provider_linux.cc',
+ 'browser/file_path_watcher_inotify.cc',
+ ],
}],
# Use system SSL settings on Mac and Windows. Use preferences
# for SSL settings on other platforms.
@@ -4161,7 +4171,7 @@
],
}],
# GTK build only
- ['OS=="linux" and toolkit_views==0', {
+ ['(OS=="linux" or OS=="openbsd") and toolkit_views==0', {
'sources/': [
['include', '^browser/printing/print_dialog_gtk.cc'],
['include', '^browser/printing/print_dialog_gtk.h'],