From cd3fc3786de47efdbe6caea4d20130269bc963731542932215962f427aef63e4 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 4 Apr 2012 08:38:51 +0000 Subject: [PATCH] Accepting request 112416 from home:achaios:branches:server:database Reenable use of initgroups() (disabled since 2004 as a workaround for ancient bmc #3037, see changes file). This is necessary for auth_pam plugin to work with pam_unix2, as it requires mysqld to run with group shadow privileges. If accepted, the change should be applied to all mariadb versions, and possibly mysql too. OBS-URL: https://build.opensuse.org/request/show/112416 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=73 --- build.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.inc b/build.inc index c2d5283..e9438c0 100644 --- a/build.inc +++ b/build.inc @@ -6,7 +6,7 @@ %if 0%{?suse_version} > 1140 export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter " %endif -export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -DFORCE_INIT_OF_VARS $WARN_DIS " +export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $WARN_DIS " export CXXFLAGS="$CFLAGS -fno-exceptions -fno-rtti" %if 0%{use_cmake} < 1