git: 6eed0ced5ace - main - devel/valgrind: temporary build fix for FreeBSD 15.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Aug 2023 15:10:33 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6eed0ced5ace1dab9d13e0cabb12fa9a9ba52b1d
commit 6eed0ced5ace1dab9d13e0cabb12fa9a9ba52b1d
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-08-28 15:04:59 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-08-28 15:05:13 +0000
devel/valgrind: temporary build fix for FreeBSD 15.
Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D41610
---
devel/valgrind/files/patch-configure.ac | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/devel/valgrind/files/patch-configure.ac b/devel/valgrind/files/patch-configure.ac
new file mode 100644
index 000000000000..f739e77592f4
--- /dev/null
+++ b/devel/valgrind/files/patch-configure.ac
@@ -0,0 +1,27 @@
+--- configure.ac.orig 2023-04-28 15:28:21 UTC
++++ configure.ac
+@@ -398,6 +398,8 @@ case "${host_os}" in
+ freebsd_13_2=1320
+ AC_DEFINE([FREEBSD_14], 1400, [FREEBSD_VERS value for FreeBSD 14.x])
+ freebsd_14=1400
++ AC_DEFINE([FREEBSD_15], 1500, [FREEBSD_VERS value for FreeBSD 15.x])
++ freebsd_15=1500
+
+ AC_MSG_CHECKING([for the kernel version])
+ kernel=`uname -r`
+@@ -451,9 +453,14 @@ case "${host_os}" in
+ AC_DEFINE([FREEBSD_VERS], FREEBSD_14, [FreeBSD version])
+ freebsd_vers=$freebsd_14
+ ;;
++ 15.*)
++ AC_MSG_RESULT([FreeBSD 15.x (${kernel})])
++ AC_DEFINE([FREEBSD_VERS], FREEBSD_15, [FreeBSD version])
++ freebsd_vers=$freebsd_15
++ ;;
+ *)
+ AC_MSG_RESULT([unsupported (${kernel})])
+- AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 14.x])
++ AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 15.x])
+ ;;
+ esac
+