ports/databases/mariadb103-server/files/patch-scripts_mysql__config.sh
Bernard Spil c146b856c0 databases/mariadb103-server: Fix segfault
- Add segfault fix from upstream [1]
 - Add WSREP option (default on)
 - Rework some of the -client conflicts
 - Fix LOCALBASE and PREFIX in patches
 - Remove unneeded patches

PR:		229219 [1]
Reported by:	Ralf van der Enden <tremere cainites net>
MFH:		2018Q3
2018-07-12 12:19:35 +00:00

12 lines
405 B
Bash

--- scripts/mysql_config.sh.orig 2017-05-24 09:15:23 UTC
+++ scripts/mysql_config.sh
@@ -106,7 +106,9 @@ fi
# Create options
libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@"
+libs="$libs -L%%LOCALBASE%%/lib "
embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@"
+embedded_libs="$embedded_libs -L%%LOCALBASE%%/lib "
include="-I$pkgincludedir"
if [ "$basedir" != "/usr" ]; then