pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/mariadb106-client



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Dec 28 09:15:17 UTC 2022

Modified Files:
        pkgsrc/databases/mariadb106-client: Makefile.common

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/mariadb106-client/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mariadb106-client/Makefile.common
diff -u pkgsrc/databases/mariadb106-client/Makefile.common:1.11 pkgsrc/databases/mariadb106-client/Makefile.common:1.12
--- pkgsrc/databases/mariadb106-client/Makefile.common:1.11     Sun Nov 27 20:05:52 2022
+++ pkgsrc/databases/mariadb106-client/Makefile.common  Wed Dec 28 09:15:17 2022
@@ -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+=          -DENABLE_DTRACE=OFF
 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