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

52 lines
1.5 KiB
Plaintext

$OpenBSD: patch-remoting_remoting_gyp,v 1.1 2011/02/08 09:43:02 espie Exp $
--- remoting/remoting.gyp.orig Fri Jan 21 10:19:47 2011
+++ remoting/remoting.gyp Sun Jan 23 23:27:35 2011
@@ -16,7 +16,7 @@
},
'conditions': [
- ['OS=="linux" or OS=="mac"', {
+ ['OS=="linux" or OS=="openbsd" or OS=="mac"', {
'targets': [
# Simple webserver for testing chromoting client plugin.
{
@@ -40,6 +40,8 @@
'chromoting_base',
'chromoting_client',
'chromoting_jingle_glue',
+ '../build/linux/system.gyp:x11',
+ '../build/linux/system.gyp:xext',
],
'link_settings': {
'libraries': [
@@ -221,7 +223,11 @@
'host/event_executor_win.h',
],
}],
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:x11',
+ '../build/linux/system.gyp:xext',
+ ],
'sources': [
'host/capturer_linux.cc',
'host/capturer_linux.h',
@@ -233,6 +239,7 @@
'-lX11',
'-lXdamage',
'-lXtst',
+ '-lvpx',
],
},
}],
@@ -497,7 +504,7 @@
'host/capturer_gdi_unittest.cc',
],
}],
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
'dependencies': [
# Needed for the following #include chain:
# base/run_all_unittests.cc