aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcmt <cmt@FreeBSD.org>2016-06-27 03:19:27 +0800
committercmt <cmt@FreeBSD.org>2016-06-27 03:19:27 +0800
commita6f86e3d20eae09497e2067c3a7352eb7e377b1d (patch)
tree5558d292dac5b042a5ebf3abae4271d5371cf36b
parente8d8ee3d39d9ef8dbac2cfcd361212ff73a6ed41 (diff)
downloadfreebsd-ports-gnome-a6f86e3d20eae09497e2067c3a7352eb7e377b1d.tar.gz
freebsd-ports-gnome-a6f86e3d20eae09497e2067c3a7352eb7e377b1d.tar.zst
freebsd-ports-gnome-a6f86e3d20eae09497e2067c3a7352eb7e377b1d.zip
Update chromium to 51.0.2704.106
Also, fix build on 9.3-i386 (patch by rene) Approved by: rene (mentor)
-rw-r--r--www/chromium/Makefile2
-rw-r--r--www/chromium/distinfo10
-rw-r--r--www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h52
3 files changed, 55 insertions, 9 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index b5e6dd05d599..b866b4f24904 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= chromium
-PORTVERSION= 51.0.2704.103
+PORTVERSION= 51.0.2704.106
CATEGORIES= www
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 8a5bd013e01a..5f61835b5544 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1466191227
-SHA256 (chromium-51.0.2704.103.tar.xz) = 76735b6dc4100e84c4dbcf5b2336bf8a2eb9cc6402c31e8865878a086971d72b
-SIZE (chromium-51.0.2704.103.tar.xz) = 448638748
-SHA256 (chromium-51.0.2704.103-testdata.tar.xz) = 787ae4a7c30c3fecb605d0d362370977264938d6c8b0fa6a50a06b556b96e541
-SIZE (chromium-51.0.2704.103-testdata.tar.xz) = 121442840
+TIMESTAMP = 1466791065
+SHA256 (chromium-51.0.2704.106.tar.xz) = fb97a6a3119ec2c8cc4ad9a0bd6c4d306516769039a2633633f7d0c770012cfd
+SIZE (chromium-51.0.2704.106.tar.xz) = 448656636
+SHA256 (chromium-51.0.2704.106-testdata.tar.xz) = 926b44fd0020922ce50b4b838391ae0c531ba4ee3fc6915c4c8b7fd95db765e5
+SIZE (chromium-51.0.2704.106-testdata.tar.xz) = 121454396
diff --git a/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h b/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h
index a724057ba654..732edca0e81c 100644
--- a/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h
+++ b/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h
@@ -1,6 +1,31 @@
---- third_party/libyuv/include/libyuv/row.h.orig 2016-05-11 19:03:40 UTC
-+++ third_party/libyuv/include/libyuv/row.h
-@@ -201,7 +201,7 @@ extern "C" {
+--- third_party/libyuv/include/libyuv/row.h.orig 2016-06-16 21:03:47.000000000 +0200
++++ third_party/libyuv/include/libyuv/row.h 2016-06-26 15:14:58.000000000 +0200
+@@ -160,10 +160,14 @@
+ #define HAS_ARGBSHADEROW_SSE2
+ #define HAS_ARGBSUBTRACTROW_SSE2
+ #define HAS_ARGBUNATTENUATEROW_SSE2
++#if !(defined(__i386__) && defined(__GNUC__))
+ #define HAS_BLENDPLANEROW_SSSE3
++#endif
+ #define HAS_COMPUTECUMULATIVESUMROW_SSE2
+ #define HAS_CUMULATIVESUMTOAVERAGEROW_SSE2
++#if !(defined(__i386__) && defined(__GNUC__))
+ #define HAS_INTERPOLATEROW_SSSE3
++#endif
+ #define HAS_RGBCOLORTABLEROW_X86
+ #define HAS_SOBELROW_SSE2
+ #define HAS_SOBELTOPLANEROW_SSE2
+@@ -173,8 +177,7 @@
+
+ // The following functions fail on gcc/clang 32 bit with fpic and framepointer.
+ // caveat: clangcl uses row_win.cc which works.
+-#if defined(NDEBUG) || !(defined(_DEBUG) && defined(__i386__)) || \
+- !defined(__i386__) || defined(_MSC_VER)
++#if !(defined(__i386__) && defined(__GNUC__))
+ // TODO(fbarchard): fix build error on x86 debug
+ // https://code.google.com/p/libyuv/issues/detail?id=524
+ #define HAS_I411TOARGBROW_SSSE3
+@@ -202,7 +205,7 @@
#define HAS_COPYROW_AVX
#define HAS_H422TOARGBROW_AVX2
#define HAS_I400TOARGBROW_AVX2
@@ -9,3 +34,24 @@
// TODO(fbarchard): fix build error on android_full_debug=1
// https://code.google.com/p/libyuv/issues/detail?id=517
#define HAS_I422ALPHATOARGBROW_AVX2
+@@ -215,7 +218,9 @@
+ #define HAS_I422TORGB565ROW_AVX2
+ #define HAS_I422TORGBAROW_AVX2
+ #define HAS_I444TOARGBROW_AVX2
++#if !(defined(__i386__) && defined(__GNUC__))
+ #define HAS_INTERPOLATEROW_AVX2
++#endif
+ #define HAS_J422TOARGBROW_AVX2
+ #define HAS_MERGEUVROW_AVX2
+ #define HAS_MIRRORROW_AVX2
+@@ -238,8 +243,10 @@
+ #define HAS_ARGBMULTIPLYROW_AVX2
+ #define HAS_ARGBSUBTRACTROW_AVX2
+ #define HAS_ARGBUNATTENUATEROW_AVX2
++#if !(defined(__i386__) && defined(__GNUC__))
+ #define HAS_BLENDPLANEROW_AVX2
+ #endif
++#endif
+
+ // The following are available for AVX2 Visual C and clangcl 32 bit:
+ // TODO(fbarchard): Port to gcc.