aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-02-07 06:28:52 +0800
committerrene <rene@FreeBSD.org>2015-02-07 06:28:52 +0800
commite5b61f424870c1fba84dee873f8d149ea97fe387 (patch)
treefbdd1033650751021722c89e14e6e2681ef2ec1c /www
parent8b0a8ca22eb88a1c542f526f6b47b55283d5fb6b (diff)
downloadfreebsd-ports-gnome-e5b61f424870c1fba84dee873f8d149ea97fe387.tar.gz
freebsd-ports-gnome-e5b61f424870c1fba84dee873f8d149ea97fe387.tar.zst
freebsd-ports-gnome-e5b61f424870c1fba84dee873f8d149ea97fe387.zip
www/chromium: update to 40.0.2214.111 [1]
Apply a build fix for DragonFlyBSD [2] and FreeBSD 8 [3] Submitted by: Imre Vadasz [1,3] marino [2] MFH: 2015Q1 Security: http://www.vuxml.org/freebsd/a6eb239f-adbe-11e4-9fce-080027593b9a.html
Diffstat (limited to 'www')
-rw-r--r--www/chromium/Makefile6
-rw-r--r--www/chromium/distinfo8
-rw-r--r--www/chromium/files/patch-v8__src__base__platform__platform-posix.cc12
3 files changed, 14 insertions, 12 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index b50b9d5a3a0c..b5fd2f36b75f 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= chromium
-PORTVERSION= 40.0.2214.93
+PORTVERSION= 40.0.2214.111
CATEGORIES= www
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -137,10 +137,6 @@ TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX}
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 900000
-BROKEN= missing pthread_getthreadid_np(3)
-.endif
-
.if ${PORT_OPTIONS:MCODECS}
GYP_DEFINES+= ffmpeg_branding=Chrome
GYP_DEFINES+= proprietary_codecs=1
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 9365014abe89..f84fcc30cfed 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,4 +1,4 @@
-SHA256 (chromium-40.0.2214.93.tar.xz) = c4937596bc02d346a89543a6b5bd0fab9f45e34f3ce20dee94dc132a95c990de
-SIZE (chromium-40.0.2214.93.tar.xz) = 284982688
-SHA256 (chromium-40.0.2214.93-testdata.tar.xz) = 883761dd8f559c849f0998fbf4144f2d35a171a8fff67dbc464e3bb8a5da552b
-SIZE (chromium-40.0.2214.93-testdata.tar.xz) = 115343772
+SHA256 (chromium-40.0.2214.111.tar.xz) = 9e1f1a661702217a3fa7bf25a0e70d334a236ca67fadc4bebcfa2e8f7328cd49
+SIZE (chromium-40.0.2214.111.tar.xz) = 284978632
+SHA256 (chromium-40.0.2214.111-testdata.tar.xz) = 3f800644e56ea82ed539fcf42d2b654742105108357869f4bbf737a4d6b172eb
+SIZE (chromium-40.0.2214.111-testdata.tar.xz) = 115348388
diff --git a/www/chromium/files/patch-v8__src__base__platform__platform-posix.cc b/www/chromium/files/patch-v8__src__base__platform__platform-posix.cc
index a71a4bcfdfc0..f95959d1b574 100644
--- a/www/chromium/files/patch-v8__src__base__platform__platform-posix.cc
+++ b/www/chromium/files/patch-v8__src__base__platform__platform-posix.cc
@@ -1,11 +1,17 @@
---- v8/src/base/platform/platform-posix.cc.orig 2015-01-25 14:30:34 UTC
-+++ v8/src/base/platform/platform-posix.cc
-@@ -259,6 +259,8 @@
+--- v8/src/base/platform/platform-posix.cc.orig 2015-01-27 03:22:59.000000000 +0100
++++ v8/src/base/platform/platform-posix.cc 2015-02-06 18:41:53.881294389 +0100
+@@ -259,6 +259,14 @@
return static_cast<int>(syscall(__NR_gettid));
#elif V8_OS_ANDROID
return static_cast<int>(gettid());
+#elif V8_OS_FREEBSD
++# ifdef __DragonFly__
++ return static_cast<int>(lwp_gettid());
++# elif __FreeBSD_version__ < 900031
++ return 0; /* ! */
++# else
+ return static_cast<int>(pthread_getthreadid_np());
++# endif
#else
return static_cast<int>(pthread_self());
#endif