ports/net/libiscsi/files/patch-configure.ac
Martin Birgmeier c0c0b1bc86 net/libiscsi: update to HEAD of 2023-02-08
This fixes the build in 14-current.

PR:		269502
Reported by:	d8zNeCFG@aon.at (maintainer)
2023-02-14 13:31:20 +01:00

12 lines
480 B
Text

--- ./configure.ac.ORIG 2023-02-11 20:12:38.532565000 +0100
+++ ./configure.ac 2023-02-11 20:14:27.194137000 +0100
@@ -170,7 +170,8 @@
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <infiniband/verbs.h>
#include <rdma/rdma_cma.h>
-#include <rdma/rdma_verbs.h>]],
+#include <rdma/rdma_verbs.h>
+#error not on FreeBSD]],
[[int ibv = IBV_WC_SEND;]])],
[libiscsi_cv_HAVE_LINUX_ISER=yes],[libiscsi_cv_HAVE_LINUX_ISER=no])])
if test x"$libiscsi_cv_HAVE_LINUX_ISER" = x"yes"; then