summaryrefslogtreecommitdiff
path: root/net/libiscsi/files/patch-include_iscsi-multithreading.h
diff options
context:
space:
mode:
authorMartin Birgmeier <d8zNeCFG@aon.at>2025-05-06 20:24:42 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-05-06 20:35:37 +0300
commit9289343def2dc178c035dbd203c14e81e7e3ca1c (patch)
tree25a756f290cbbb989946d0121351ae6b30292620 /net/libiscsi/files/patch-include_iscsi-multithreading.h
parentnet/landrop: Mark deprecated (diff)
net/libiscsi: Update 1.20.0.240205 => 1.20.1
Commit log: https://github.com/sahlberg/libiscsi/compare/1.20.1...1.20.2 - Add libthr search to configure.ac. - Add STRIP_CMD as suggested by poudriere testport. - Refresh patches. - Bump consumers (emulators/qemu and emulators/qemu8) in next commmit because the soname is bumped. PR: 286546 Co-authored-by: vvd
Diffstat (limited to 'net/libiscsi/files/patch-include_iscsi-multithreading.h')
-rw-r--r--net/libiscsi/files/patch-include_iscsi-multithreading.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/libiscsi/files/patch-include_iscsi-multithreading.h b/net/libiscsi/files/patch-include_iscsi-multithreading.h
new file mode 100644
index 000000000000..455692032244
--- /dev/null
+++ b/net/libiscsi/files/patch-include_iscsi-multithreading.h
@@ -0,0 +1,12 @@
+--- include/iscsi-multithreading.h.orig 2025-05-03 00:02:42 UTC
++++ include/iscsi-multithreading.h
+@@ -46,6 +46,9 @@ typedef uint64_t iscsi_tid_t;
+ #endif
+ #ifdef HAVE_PTHREAD_THREADID_NP
+ typedef uint64_t iscsi_tid_t;
++#elif defined(__FreeBSD__)
++#include <pthread_np.h>
++typedef int iscsi_tid_t;
+ #else
+ typedef pid_t iscsi_tid_t;
+ #endif