diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-11-04 07:58:45 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-11-04 07:58:45 +0800 |
commit | 5174833eebe0bd2288f67e2d577b619c7fa96f4f (patch) | |
tree | 369df38c2cb122c2c028f63ea3a9b9709e6ff607 /mail | |
parent | 37cfb2bb9a354d4bd413901c2830ceb0df91809d (diff) | |
download | freebsd-ports-gnome-5174833eebe0bd2288f67e2d577b619c7fa96f4f.tar.gz freebsd-ports-gnome-5174833eebe0bd2288f67e2d577b619c7fa96f4f.tar.zst freebsd-ports-gnome-5174833eebe0bd2288f67e2d577b619c7fa96f4f.zip |
gecko: speed up HTML5 video scaling on i386
MFH: 2017Q4
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird/Makefile | 2 | ||||
-rw-r--r-- | mail/thunderbird/files/patch-bug1414440 | 72 |
2 files changed, 73 insertions, 1 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index 9f88ed3ccac3..50e06ec0b716 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -3,7 +3,7 @@ PORTNAME= thunderbird DISTVERSION= 52.4.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail news net-im ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build3/source diff --git a/mail/thunderbird/files/patch-bug1414440 b/mail/thunderbird/files/patch-bug1414440 new file mode 100644 index 000000000000..c3192c306d40 --- /dev/null +++ b/mail/thunderbird/files/patch-bug1414440 @@ -0,0 +1,72 @@ +Build libyuv with SIMD optimizations on Linux x86. + +diff --git media/libyuv/include/libyuv/compare_row.h media/libyuv/include/libyuv/compare_row.h +index 7abc2d4aef8f..161c12fa1b83 100644 +--- mozilla/media/libyuv/include/libyuv/compare_row.h ++++ mozilla/media/libyuv/include/libyuv/compare_row.h +@@ -18,8 +18,7 @@ namespace libyuv { + extern "C" { + #endif + +-#if defined(__pnacl__) || defined(__CLR_VER) || \ +- (defined(__i386__) && !defined(__SSE2__)) ++#if defined(__pnacl__) || defined(__CLR_VER) + #define LIBYUV_DISABLE_X86 + #endif + // MemorySanitizer does not support assembly code yet. http://crbug.com/344505 +diff --git media/libyuv/include/libyuv/planar_functions.h media/libyuv/include/libyuv/planar_functions.h +index 040839c211b1..0d672dec96d6 100644 +--- mozilla/media/libyuv/include/libyuv/planar_functions.h ++++ mozilla/media/libyuv/include/libyuv/planar_functions.h +@@ -719,8 +719,7 @@ int I420Interpolate(const uint8* src0_y, + int height, + int interpolation); + +-#if defined(__pnacl__) || defined(__CLR_VER) || \ +- (defined(__i386__) && !defined(__SSE2__)) ++#if defined(__pnacl__) || defined(__CLR_VER) + #define LIBYUV_DISABLE_X86 + #endif + // MemorySanitizer does not support assembly code yet. http://crbug.com/344505 +diff --git media/libyuv/include/libyuv/rotate_row.h media/libyuv/include/libyuv/rotate_row.h +index 2c51584eee8b..73bbe8ef7ad4 100644 +--- mozilla/media/libyuv/include/libyuv/rotate_row.h ++++ mozilla/media/libyuv/include/libyuv/rotate_row.h +@@ -18,8 +18,7 @@ namespace libyuv { + extern "C" { + #endif + +-#if defined(__pnacl__) || defined(__CLR_VER) || \ +- (defined(__i386__) && !defined(__SSE2__)) ++#if defined(__pnacl__) || defined(__CLR_VER) + #define LIBYUV_DISABLE_X86 + #endif + // MemorySanitizer does not support assembly code yet. http://crbug.com/344505 +diff --git media/libyuv/include/libyuv/row.h media/libyuv/include/libyuv/row.h +index f74bd9f7d17a..3bdfb75fc160 100644 +--- mozilla/media/libyuv/include/libyuv/row.h ++++ mozilla/media/libyuv/include/libyuv/row.h +@@ -30,8 +30,7 @@ extern "C" { + free(var##_mem); \ + var = 0 + +-#if defined(__pnacl__) || defined(__CLR_VER) || \ +- (defined(__i386__) && !defined(__SSE2__)) ++#if defined(__pnacl__) || defined(__CLR_VER) + #define LIBYUV_DISABLE_X86 + #endif + // MemorySanitizer does not support assembly code yet. http://crbug.com/344505 +diff --git media/libyuv/include/libyuv/scale_row.h media/libyuv/include/libyuv/scale_row.h +index edb46cc8c647..fe78a80f81bd 100644 +--- mozilla/media/libyuv/include/libyuv/scale_row.h ++++ mozilla/media/libyuv/include/libyuv/scale_row.h +@@ -19,8 +19,7 @@ namespace libyuv { + extern "C" { + #endif + +-#if defined(__pnacl__) || defined(__CLR_VER) || \ +- (defined(__i386__) && !defined(__SSE2__)) ++#if defined(__pnacl__) || defined(__CLR_VER) + #define LIBYUV_DISABLE_X86 + #endif + // MemorySanitizer does not support assembly code yet. http://crbug.com/344505 |