summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-toolkit_modules_GMPUtils.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-toolkit_modules_GMPUtils.jsm')
-rw-r--r--www/firefox52/patches/patch-toolkit_modules_GMPUtils.jsm14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-toolkit_modules_GMPUtils.jsm b/www/firefox52/patches/patch-toolkit_modules_GMPUtils.jsm
new file mode 100644
index 00000000000..873a8a01eee
--- /dev/null
+++ b/www/firefox52/patches/patch-toolkit_modules_GMPUtils.jsm
@@ -0,0 +1,14 @@
+$NetBSD: patch-toolkit_modules_GMPUtils.jsm,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+* Enable Google widevine CDM for NetBSD
+
+--- toolkit/modules/GMPUtils.jsm.orig 2016-08-10 20:27:55.000000000 +0000
++++ toolkit/modules/GMPUtils.jsm
+@@ -92,6 +92,7 @@ this.GMPUtils = {
+ // Mac OSX, and Linux.
+ return AppConstants.isPlatformAndVersionAtLeast("win", "6") ||
+ AppConstants.platform == "macosx" ||
++ AppConstants.platform == "netbsd" ||
+ AppConstants.platform == "linux";
+ }
+