Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # HG changeset patch |
michael@0 | 2 | # Parent d0b3d7af190b3c62397ece2bc33b429d903e455d |
michael@0 | 3 | |
michael@0 | 4 | diff -r d0b3d7af190b gfx/cairo/libpixman/src/Makefile.in |
michael@0 | 5 | --- a/gfx/cairo/libpixman/src/Makefile.in Sat Nov 24 14:26:11 2012 +0100 |
michael@0 | 6 | +++ b/gfx/cairo/libpixman/src/Makefile.in Thu Nov 29 22:20:59 2012 +0100 |
michael@0 | 7 | @@ -42,6 +42,10 @@ |
michael@0 | 8 | endif |
michael@0 | 9 | |
michael@0 | 10 | ifdef GNU_CC |
michael@0 | 11 | +ifeq (ppc,$(findstring ppc,$(OS_TEST))) |
michael@0 | 12 | +USE_VMX=1 |
michael@0 | 13 | +VMX_CFLAGS=-maltivec |
michael@0 | 14 | +endif |
michael@0 | 15 | ifeq (86,$(findstring 86,$(OS_TEST))) |
michael@0 | 16 | USE_MMX=1 |
michael@0 | 17 | MMX_CFLAGS=-mmmx -Winline |
michael@0 | 18 | @@ -156,3 +160,6 @@ |
michael@0 | 19 | pixman-sse2.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(SSE2_CFLAGS) |
michael@0 | 20 | |
michael@0 | 21 | pixman-arm-neon.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(ARM_NEON_CFLAGS) |
michael@0 | 22 | + |
michael@0 | 23 | +pixman-vmx.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(VMX_CFLAGS) |
michael@0 | 24 | + |
michael@0 | 25 | diff -r d0b3d7af190b gfx/cairo/libpixman/src/pixman-vmx.c |
michael@0 | 26 | --- a/gfx/cairo/libpixman/src/pixman-vmx.c Sat Nov 24 14:26:11 2012 +0100 |
michael@0 | 27 | +++ b/gfx/cairo/libpixman/src/pixman-vmx.c Thu Nov 29 22:20:59 2012 +0100 |
michael@0 | 28 | @@ -25,7 +25,10 @@ |
michael@0 | 29 | * Based on fbmmx.c by Owen Taylor, Søren Sandmann and Nicholas Miell |
michael@0 | 30 | */ |
michael@0 | 31 | |
michael@0 | 32 | +#ifdef HAVE_CONFIG_H |
michael@0 | 33 | #include <config.h> |
michael@0 | 34 | +#endif |
michael@0 | 35 | + |
michael@0 | 36 | #include "pixman-private.h" |
michael@0 | 37 | #include "pixman-combine32.h" |
michael@0 | 38 | #include <altivec.h> |