On 2020/04/12 20:36, Caspar Schutijser wrote:
> On Fri, Apr 10, 2020 at 09:24:31PM +0200, Caspar Schutijser wrote:
> > Below is a WIP diff that makes font fingerprinting defense work in
> > our port of Tor Browser.
>
> Thanks for your feedback from both of you. I incorporated sthen@'s
> feedback in the diff below (and besides that there's some fixes and
> cleanup compared to the previous diff).
>
> I haven't received any test reports yet but as far as I can see, this
> diff works as advertised. Further feedback is welcome, of course.
Could you change how the js change is done please, normally patches are
a better idea for non-bulk changes like this, but it results in a line
containing UTF-8 in the patch context which I think is likely to cause
some future problems with sending/applying diffs - this should do the
trick:
sed -i 's/#ifdef XP_LINUX/#if defined(XP_LINUX) ||
defined(XP_OPENBSD)/' \
${WRKSRC}/browser/app/profile/000-tor-browser.js