pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mariadb106-client mariadb106: Since upstream...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21817d70434e
branches:  trunk
changeset: 390726:21817d70434e
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Dec 28 09:15:17 2022 +0000

description:
mariadb106: Since upstream's attempt to detect alloca.h without
system-specific defines seems to have failed, we need to force the
issue on SunOS. OmniOS-CE has a patch to revert the change, but that
doesn't quite sit right with me either.

diffstat:

 databases/mariadb106-client/Makefile.common |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 44ab8028c2fb -r 21817d70434e databases/mariadb106-client/Makefile.common
--- a/databases/mariadb106-client/Makefile.common       Wed Dec 28 09:01:15 2022 +0000
+++ b/databases/mariadb106-client/Makefile.common       Wed Dec 28 09:15:17 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2022/11/27 20:05:52 nia Exp $
+# $NetBSD: Makefile.common,v 1.12 2022/12/28 09:15:17 nia Exp $
 #
 # used by databases/mariadb106-client/Makefile
 # used by databases/mariadb106-server/Makefile
@@ -88,7 +88,9 @@
 CMAKE_ARGS+=           -DDTRACE_FLAGS="-${ABI}"
 .endif
 
-CFLAGS.SunOS+=         -fPIC
+# https://github.com/MariaDB/server/pull/2326
+# https://github.com/MariaDB/server/pull/2321
+CFLAGS.SunOS+=         -fPIC -DHAVE_ALLOCA_H=1
 CFLAGS.NetBSD+=                -DIOAPI_NO_64
 
 REPLACE_PERL+=         scripts/mytop.sh



Home | Main Index | Thread Index | Old Index