diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-08-28 15:04:59 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-08-28 15:05:13 +0000 |
commit | 6eed0ced5ace1dab9d13e0cabb12fa9a9ba52b1d (patch) | |
tree | 5801bacdf287b5f7231e7121172e2410b81cc1f8 | |
parent | 66979e79f3ddca538696aa7c09979c79c34a93ea (diff) | |
download | ports-6eed0ced5ace1dab9d13e0cabb12fa9a9ba52b1d.tar.gz ports-6eed0ced5ace1dab9d13e0cabb12fa9a9ba52b1d.zip |
devel/valgrind: temporary build fix for FreeBSD 15.
Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D41610
-rw-r--r-- | devel/valgrind/files/patch-configure.ac | 27 |
1 files changed, 27 insertions, 0 deletions
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 + |