summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-build_gyp.mozbuild
blob: 08bb9530dbc2d5433f754fa610eff43f01e4e0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-build_gyp.mozbuild,v 1.5 2017/04/27 01:49:47 ryoon Exp $

Hunk #1:
  Try to add Video4Linux2 support

Hunk #2:
  On Darwin, don't assume iOS just because the toolkit is not
  cocoa. Ideally there should be an AC_SUBST just like 'ARM_ARCH' but
  nothing exists currently.

Hunk #3:
  MacOS X SDK version should be able to configure with
  ./configure --enable-macos-target=VER

--- build/gyp.mozbuild.orig	2017-04-11 04:15:17.000000000 +0000
+++ build/gyp.mozbuild
@@ -16,6 +16,7 @@ gyp_vars.update({
     'have_ethtool_cmd_speed_hi': 1 if CONFIG['MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI'] else 0,
     'include_alsa_audio': 1 if CONFIG['MOZ_ALSA'] else 0,
     'include_pulse_audio': 1 if CONFIG['MOZ_PULSEAUDIO'] else 0,
+    'use_libv4l2': 1 if CONFIG['MOZ_LIBV4L2_LIBS'] else 0,
     # basic stuff for everything
     'include_internal_video_render': 0,
     'clang': 1 if CONFIG['CLANG_CXX'] else 0,