diff options
author | Jan Horak <jhorak@redhat.com> | 2019-10-02 17:13:40 +0200 |
---|---|---|
committer | Jan Horak <jhorak@redhat.com> | 2019-10-02 17:13:40 +0200 |
commit | cc911d3225cc500830ae115bc513b468b9d5471c (patch) | |
tree | bc78ba2590e4e78af8f0dfcdf4cbaebaf321fd7f /rh-old-version-check.patch | |
parent | Updated rhbz#1754460/mzbz#1583466 - per user policy dir. (diff) | |
download | librewolf-fedora-ff-cc911d3225cc500830ae115bc513b468b9d5471c.tar.gz librewolf-fedora-ff-cc911d3225cc500830ae115bc513b468b9d5471c.tar.bz2 librewolf-fedora-ff-cc911d3225cc500830ae115bc513b468b9d5471c.zip |
Don't compare buildID in upgradepath because builds in newer distro can be build sooner than in previous one.
Diffstat (limited to 'rh-old-version-check.patch')
-rw-r--r-- | rh-old-version-check.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rh-old-version-check.patch b/rh-old-version-check.patch new file mode 100644 index 0000000..b83f34b --- /dev/null +++ b/rh-old-version-check.patch @@ -0,0 +1,20 @@ +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; + } + + /** |