diff options
| author | Rasmus Thomsen <oss@cogitri.dev> | 2020-04-07 17:34:48 +0200 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-04-07 20:18:19 +0000 |
| commit | 3f24b0ed71ac2a532796e4f065c755d1e92a6858 (patch) | |
| tree | f4001dc5ed90dc82638ae553b45f10c97e3baa1d /community/firefox/fix-tools.patch | |
| parent | b9f47e4c63ca265a9b9150df986cc1429b4c7863 (diff) | |
| download | aports-3f24b0ed71ac2a532796e4f065c755d1e92a6858.tar.bz2 aports-3f24b0ed71ac2a532796e4f065c755d1e92a6858.tar.xz | |
community/firefox: security upgrade to 75.0
This release remove support for building against system sqlite,
see https://bugzilla.mozilla.org/show_bug.cgi?id=1611386 for more
information.
Diffstat (limited to 'community/firefox/fix-tools.patch')
| -rw-r--r-- | community/firefox/fix-tools.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/community/firefox/fix-tools.patch b/community/firefox/fix-tools.patch index 93b9d19c84..245d694bd3 100644 --- a/community/firefox/fix-tools.patch +++ b/community/firefox/fix-tools.patch @@ -16,22 +16,3 @@ index 19d0a5c56d..b64b543066 100644 + #endif } #endif -diff --git a/tools/profiler/lul/LulElf.cpp b/tools/profiler/lul/LulElf.cpp -index 9998d04d0d..348a7086fc 100644 ---- a/tools/profiler/lul/LulElf.cpp -+++ b/tools/profiler/lul/LulElf.cpp -@@ -469,10 +469,10 @@ string FormatIdentifier(unsigned char identifier[16]) { - // Return the non-directory portion of FILENAME: the portion after the - // last slash, or the whole filename if there are no slashes. - string BaseFileName(const string& filename) { -- // Lots of copies! basename's behavior is less than ideal. -- char* c_filename = strdup(filename.c_str()); -- string base = basename(c_filename); -- free(c_filename); -+ // basename's behavior is less than ideal so avoid it -+ const char *c_filename = filename.c_str(); -+ const char *p = strrchr(c_filename, '/'); -+ string base = p ? p+1 : c_filename; - return base; - } - |
