Any Chromium users out there able to take this for a spin? This
re-enables the use of stack protector with Chromium. Lightly tested
on amd64 and especially needs testing with i386.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/chromium/Makefile,v
retrieving revision 1.181
diff -u -p -u -p -r1.181 Makefile
--- Makefile    15 Aug 2014 15:59:49 -0000      1.181
+++ Makefile    7 Sep 2014 15:49:31 -0000
@@ -7,6 +7,7 @@ COMMENT=                Chromium browser
 
 V=                     36.0.1985.143
 DISTNAME=              chromium-${V}
+REVISION=              0
 
 CATEGORIES=            www
 
Index: patches/patch-build_common_gypi
===================================================================
RCS file: /home/cvs/ports/www/chromium/patches/patch-build_common_gypi,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 patch-build_common_gypi
--- patches/patch-build_common_gypi     20 Jul 2014 17:22:33 -0000      1.24
+++ patches/patch-build_common_gypi     14 Aug 2014 03:03:02 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-build_common_gypi,v 1.24 2014/07/20 17:22:33 robert Exp $
---- build/common.gypi.orig.port        Tue Jul 15 13:03:13 2014
-+++ build/common.gypi  Sat Jul 19 01:01:48 2014
+--- build/common.gypi.orig.port        Tue Jul 15 15:03:13 2014
++++ build/common.gypi  Wed Aug 13 23:01:34 2014
 @@ -857,7 +857,7 @@
          # NOTE: The check for disable_nacl==0 and component=="static_library"
          # can't be used here because these variables are not defined yet, but 
it
@@ -19,22 +19,7 @@ $OpenBSD: patch-build_common_gypi,v 1.24
            'icu_use_data_file_flag%' : 1,
            'spdy_proxy_auth_origin%': '',
            'data_reduction_proxy_probe_url%': '',
-@@ -3177,6 +3177,14 @@
-         ],
-       },
-     }],
-+    ['OS=="openbsd"', {
-+      'target_defaults': {
-+        'cflags': [
-+          '-fno-stack-protector',
-+          '-Wno-unknown-warning-option',
-+        ],
-+      },
-+    }],
-     ['os_posix==1 and OS!="mac" and OS!="ios"', {
-       'target_defaults': {
-         # Enable -Werror by default, but put it in a variable so it can
-@@ -5158,8 +5166,8 @@
+@@ -5158,8 +5158,8 @@
      ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) '
          'and OS!="win"', {
        'make_global_settings': [

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to