From 494224001a616f2c2ac54b502b5354671785cec1 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 28 Oct 2019 04:18:26 -0400 Subject: Disable MOZ_SERVICES_HEALTHREPORT and MOZ_DATA_REPORTING. * data/patches/fix-data-reporting-check.patch: New file. * data/patches/legacy-profiles.patch: Rename to ... * data/patches/moz-configure-changes.patch: ... this, and set MOZ_SERVICES_HEALTHREPORT to False. --- data/patches/fix-data-reporting-check.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 data/patches/fix-data-reporting-check.patch (limited to 'data/patches/fix-data-reporting-check.patch') diff --git a/data/patches/fix-data-reporting-check.patch b/data/patches/fix-data-reporting-check.patch new file mode 100644 index 0000000..d586dc5 --- /dev/null +++ b/data/patches/fix-data-reporting-check.patch @@ -0,0 +1,22 @@ +--- a/old-configure.in.orig 1980-01-01 18:59:51.000000000 -0500 ++++ b/old-configure.in 2019-10-28 04:13:17.343606008 -0400 +@@ -3116,7 +3116,7 @@ + dnl If we have any service that uploads data (and requires data submission + dnl policy alert), set MOZ_DATA_REPORTING. + dnl We need SUBST for build system and DEFINE for xul preprocessor. +-if test -n "$MOZ_TELEMETRY_REPORTING" || test -n "$MOZ_SERVICES_HEALTHREPORT" || test -n "$MOZ_CRASHREPORTER"; then ++if test "$MOZ_TELEMETRY_REPORTING" = 1 || test "$MOZ_SERVICES_HEALTHREPORT" = 1 || test "$MOZ_CRASHREPORTER" = 1; then + MOZ_DATA_REPORTING=1 + AC_DEFINE(MOZ_DATA_REPORTING) + AC_SUBST(MOZ_DATA_REPORTING) +--- a/old-configure.orig 1980-01-01 18:59:51.000000000 -0500 ++++ b/old-configure 2019-10-28 04:15:41.772322191 -0400 +@@ -12150,7 +12150,7 @@ + + + +-if test -n "$MOZ_TELEMETRY_REPORTING" || test -n "$MOZ_SERVICES_HEALTHREPORT" || test -n "$MOZ_CRASHREPORTER"; then ++if test "$MOZ_TELEMETRY_REPORTING" = 1 || test "$MOZ_SERVICES_HEALTHREPORT" = 1 || test "$MOZ_CRASHREPORTER" = 1; then + MOZ_DATA_REPORTING=1 + cat >> confdefs.pytmp <<\EOF + (''' MOZ_DATA_REPORTING ''', ' 1 ') -- cgit v1.2.3