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

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-gpu_demos_demos_gyp,v 1.1 2011/02/08 09:43:02 espie Exp $
--- gpu/demos/demos.gyp.orig Fri Jan 21 10:19:48 2011
+++ gpu/demos/demos.gyp Sun Jan 23 23:27:34 2011
@@ -11,7 +11,7 @@
# also be compiled with -fPIC flag. Setting GYP_DEFINES="linux_fpic=1"
# compiles everything with -fPIC. Disable pepper demos on linux/x64
# unless linux_fpic is 1.
- ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', {
+ ['(OS=="linux" or OS=="openbsd") and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', {
'enable_pepper_demos%': 0,
}, {
'enable_pepper_demos%': 1,
@@ -53,7 +53,7 @@
'framework/window.h',
],
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
'dependencies': ['../../build/linux/system.gyp:gtk'],
}],
],
@@ -172,7 +172,7 @@
],
},
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
# -gstabs, used in the official builds, causes an ICE. Remove it.
'cflags!': ['-gstabs'],
}],