diff options
author | Jochen Neumeister <joneum@FreeBSD.org> | 2020-09-14 06:55:04 +0000 |
---|---|---|
committer | Jochen Neumeister <joneum@FreeBSD.org> | 2020-09-14 06:55:04 +0000 |
commit | 8aa416769a0f8bc071fb129ba251c3965300e191 (patch) | |
tree | 3a61e4c9edea6724289973b15655731910c73887 /databases/mysql57-server/files | |
parent | 7934e4b69008814277f18d10241b6d892a523f4a (diff) | |
download | ports-8aa416769a0f8bc071fb129ba251c3965300e191.tar.gz ports-8aa416769a0f8bc071fb129ba251c3965300e191.zip |
Notes
Diffstat (limited to 'databases/mysql57-server/files')
-rw-r--r-- | databases/mysql57-server/files/patch-scripts_mysqld__safe.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/mysql57-server/files/patch-scripts_mysqld__safe.txt b/databases/mysql57-server/files/patch-scripts_mysqld__safe.txt new file mode 100644 index 000000000000..b81284dda894 --- /dev/null +++ b/databases/mysql57-server/files/patch-scripts_mysqld__safe.txt @@ -0,0 +1,19 @@ +--- scripts/mysqld_safe.sh.orig 2020-06-02 11:05:42 UTC ++++ scripts/mysqld_safe.sh +@@ -359,7 +359,7 @@ mysqld_ld_preload_text() { + # running mysqld. See ld.so for details. + set_malloc_lib() { + # This list is kept intentionally simple. +- malloc_dirs="/usr/lib /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu" ++ malloc_dirs="/usr/lib /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu /usr/local/lib" + malloc_lib="$1" + + # Allow --malloc-lib='' to override other settings +@@ -378,6 +378,7 @@ set_malloc_lib() { + /usr/lib64) ;; + /usr/lib/i386-linux-gnu) ;; + /usr/lib/x86_64-linux-gnu) ;; ++ /usr/local/lib) ;; + *) + log_error "--malloc-lib must be located in one of the directories: $malloc_dirs" + exit 1 |