From 8fec45cc113d6218493da9026737cc27937b52b7 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Thu, 3 Oct 2019 10:13:04 +0200 Subject: Revert "Don't compare buildID in upgradepath because builds in newer distro can be build sooner than in previous one." Because it's already implemented by MOZ_ALLOW_DOWNGRADE env variable. This reverts commit cc911d3225cc500830ae115bc513b468b9d5471c. --- rh-old-version-check.patch | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 rh-old-version-check.patch (limited to 'rh-old-version-check.patch') diff --git a/rh-old-version-check.patch b/rh-old-version-check.patch deleted file mode 100644 index b83f34b..0000000 --- a/rh-old-version-check.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -up firefox-69.0/toolkit/xre/nsAppRunner.cpp.old-version-check firefox-69.0/toolkit/xre/nsAppRunner.cpp ---- firefox-69.0/toolkit/xre/nsAppRunner.cpp.old-version-check 2019-10-02 16:58:38.018077162 +0200 -+++ firefox-69.0/toolkit/xre/nsAppRunner.cpp 2019-10-02 16:59:57.955339034 +0200 -@@ -2453,13 +2453,9 @@ int32_t CompareCompatVersions(const nsAC - return result; - } - -- // Fall back to build ID comparison. -- result = CompareBuildIDs(oldAppBuildID, newAppBuildID); -- if (result != 0) { -- return result; -- } -- -- return CompareBuildIDs(oldPlatformBuildID, newPlatformBuildID); -+ // Don't compare build ids because the build time can be older on the -+ // newer distribution package. -+ return 0; - } - - /** -- cgit