pkgsrc-wip/firefox69-2019Q4/patches/patch-toolkit_moz.configure

24 lines
741 B
Plaintext

$NetBSD: patch-toolkit_moz.configure,v 1.11 2018/05/10 20:01:53 ryoon Exp $
* skia part: support bigendian architectures
--- toolkit/moz.configure.orig 2018-05-03 16:58:41.000000000 +0000
+++ toolkit/moz.configure
@@ -932,11 +932,11 @@ include('nss.configure')
# ==============================================================
option('--disable-skia', help='Disable use of Skia')
-@depends('--disable-skia')
-def skia(value):
- if not value:
- die('--disable-skia is not supported anymore')
- else:
+@depends('--disable-skia', target)
+def skia(value, target):
+ if value.origin == 'default' and target.endianness == 'big':
+ return None
+ if value:
return True
set_config('MOZ_ENABLE_SKIA', skia)