summaryrefslogtreecommitdiff
path: root/math/mfem/files/patch-general_isockstream.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-01-18 01:48:00 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2025-01-18 01:52:24 -0800
commit85e3e569f72b84d5f1ac0dfcaf572199a8a86913 (patch)
tree20c37b8aa537546bd7a8dc85c2c32f5db8969a37 /math/mfem/files/patch-general_isockstream.cpp
parentbiology/libbigwig: update 0.4.7 → 0.4.8 (diff)
math/mfem: update 4.4 → 4.7
Diffstat (limited to 'math/mfem/files/patch-general_isockstream.cpp')
-rw-r--r--math/mfem/files/patch-general_isockstream.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/mfem/files/patch-general_isockstream.cpp b/math/mfem/files/patch-general_isockstream.cpp
new file mode 100644
index 000000000000..eb0b3543a3cb
--- /dev/null
+++ b/math/mfem/files/patch-general_isockstream.cpp
@@ -0,0 +1,11 @@
+--- general/isockstream.cpp.orig 2024-09-08 17:21:14 UTC
++++ general/isockstream.cpp
+@@ -86,7 +86,7 @@ int isockstream::establish()
+ return (-1);
+ }
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ if (bind(sfd, (const struct sockaddr *)rp->ai_addr, rp->ai_addrlen) < 0)
+ #else
+ if (bind(sfd, rp->ai_addr, rp->ai_addrlen) < 0)