The diff below updates chromium to 9.0.597.107 (the latest stable channel release), which fixes multiple security issues[1].
Additionally, it removes the vestigial LINK=/usr/bin/g++ environment variable, enables SSE2 support on amd64, and fixes a bad #ifdef patch (noticed by a failed attempt to build with Clang). No immediately noticeable regressions on amd64. ok? [1] http://googlechromereleases.blogspot.com/2011/02/stable-channel-update_28.html Index: Makefile =================================================================== RCS file: /cvs/ports/www/chromium/Makefile,v retrieving revision 1.25 diff -u -p Makefile --- Makefile 2 Mar 2011 11:11:31 -0000 1.25 +++ Makefile 3 Mar 2011 06:12:45 -0000 @@ -4,11 +4,9 @@ ONLY_FOR_ARCHS= i386 amd64 COMMENT= Chromium browser -V= 9.0.597.94 +V= 9.0.597.107 DISTNAME= chromium-${V} -REVISION= 1 - CATEGORIES= www HOMEPAGE= http://sightly.net/peter/openbsd/chromium/ @@ -61,8 +59,7 @@ LIB_DEPENDS= devel/libexecinfo \ # Set BUILDTYPE to Debug (or omit it) for a debug build BUILDTYPE= Release -MAKE_ENV= BUILDTYPE=${BUILDTYPE} V=1 \ - LINK=/usr/bin/g++ +MAKE_ENV= BUILDTYPE=${BUILDTYPE} V=1 USE_GMAKE= Yes @@ -85,8 +82,10 @@ GYP_DEFS= -Duse_system_bzip2=1 \ -Duse_system_vpx=1 \ -Duse_system_zlib=0 \ -Ddisable_nacl=1 \ - -Ddisable_sse2=1 \ -DOS=openbsd +.if ${MACHINE_ARCH} != "amd64" +GYP_DEFS+= -Ddisable_sse2=1 +.endif pre-configure: @ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python Index: distinfo =================================================================== RCS file: /cvs/ports/www/chromium/distinfo,v retrieving revision 1.5 diff -u -p distinfo --- distinfo 12 Feb 2011 10:42:43 -0000 1.5 +++ distinfo 3 Mar 2011 06:12:45 -0000 @@ -1,5 +1,5 @@ -MD5 (chromium-9.0.597.94.tar.bz2) = QThrPfdDV18jJcTGTW17xw== -RMD160 (chromium-9.0.597.94.tar.bz2) = WBbCjd+usxxbiqiC3iJIx4D4yww= -SHA1 (chromium-9.0.597.94.tar.bz2) = SocNpBriV4HkgG7CyVcDKC/MxNg= -SHA256 (chromium-9.0.597.94.tar.bz2) = cZTZmaA7tUgTzEn5eN2I9bCM3UDO5Ny+T/VjnAyj6NU= -SIZE (chromium-9.0.597.94.tar.bz2) = 140800844 +MD5 (chromium-9.0.597.107.tar.bz2) = RUHyuE31gWGCYu/hWJAbLw== +RMD160 (chromium-9.0.597.107.tar.bz2) = fuyAs2P8xHtGDppUwhlA0wnMB50= +SHA1 (chromium-9.0.597.107.tar.bz2) = TryT4gL4f3JO/7F0RZw/XCoQyc0= +SHA256 (chromium-9.0.597.107.tar.bz2) = H95jUBfNJ44JJCR43jRpFm3Yn5PJXOZ6z438Z93fgVk= +SIZE (chromium-9.0.597.107.tar.bz2) = 141198237 Index: patches/patch-app_gfx_gl_gl_context_egl_cc =================================================================== RCS file: /cvs/ports/www/chromium/patches/patch-app_gfx_gl_gl_context_egl_cc,v retrieving revision 1.1 diff -u -p patches/patch-app_gfx_gl_gl_context_egl_cc --- patches/patch-app_gfx_gl_gl_context_egl_cc 8 Feb 2011 09:43:02 -0000 1.1 +++ patches/patch-app_gfx_gl_gl_context_egl_cc 3 Mar 2011 06:12:45 -0000 @@ -15,7 +15,7 @@ $OpenBSD: patch-app_gfx_gl_gl_context_egl_cc,v 1.1 201 return true; -#ifdef OS_LINUX -+#ifdef OS_LINUX || defined(OS_OPENBSD) ++#if defined(OS_LINUX) || defined(OS_OPENBSD) EGLNativeDisplayType native_display = x11_util::GetXDisplay(); #else EGLNativeDisplayType native_display = EGL_DEFAULT_DISPLAY; Index: patches/patch-gpu_gpu_gyp =================================================================== RCS file: /cvs/ports/www/chromium/patches/patch-gpu_gpu_gyp,v retrieving revision 1.2 diff -u -p patches/patch-gpu_gpu_gyp --- patches/patch-gpu_gpu_gyp 8 Feb 2011 09:43:02 -0000 1.2 +++ patches/patch-gpu_gpu_gyp 3 Mar 2011 06:12:45 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-gpu_gpu_gyp,v 1.2 2011/02/08 09:43:02 espie Exp $ ---- gpu/gpu.gyp.orig Fri Jan 21 10:19:48 2011 -+++ gpu/gpu.gyp Sun Jan 23 23:27:34 2011 -@@ -180,7 +180,7 @@ +--- gpu/gpu.gyp.orig Fri Feb 18 02:22:12 2011 ++++ gpu/gpu.gyp Wed Mar 2 18:00:11 2011 +@@ -206,7 +206,7 @@ 'command_buffer/service/texture_manager.cc', ], 'conditions': [ Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/chromium/pkg/PLIST,v retrieving revision 1.4 diff -u -p pkg/PLIST --- pkg/PLIST 8 Feb 2011 09:43:02 -0000 1.4 +++ pkg/PLIST 3 Mar 2011 06:12:45 -0000 @@ -1,7 +1,7 @@ @comment $OpenBSD: PLIST,v 1.4 2011/02/08 09:43:02 espie Exp $ bin/chrome chrome/ -chrome/chrome +@bin chrome/chrome chrome/chrome.pak chrome/ffmpegsumo_nolink chrome/libffmpegsumo.so