aboutsummaryrefslogtreecommitdiff
path: root/net/sipxportlib/files/patch-src_os_OsSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/sipxportlib/files/patch-src_os_OsSocket.cpp')
-rw-r--r--net/sipxportlib/files/patch-src_os_OsSocket.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/sipxportlib/files/patch-src_os_OsSocket.cpp b/net/sipxportlib/files/patch-src_os_OsSocket.cpp
new file mode 100644
index 000000000000..cb9b9600b50c
--- /dev/null
+++ b/net/sipxportlib/files/patch-src_os_OsSocket.cpp
@@ -0,0 +1,29 @@
+--- ./src/os/OsSocket.cpp.orig Tue Jan 2 17:37:30 2007
++++ ./src/os/OsSocket.cpp Sat Jan 6 22:41:02 2007
+@@ -165,7 +165,7 @@
+
+ int flags = 0;
+
+-#if defined(__linux__) || defined(sun)
++#if defined(__linux__) || defined(sun) || defined(__FreeBSD__)
+ // We do not want send to throw signals if there is a
+ // problem with the socket as this results in the process
+ // getting aborted. We just want it to return an error.
+@@ -224,7 +224,7 @@
+
+ int flags = 0;
+
+-#if defined(__linux__) || defined(sun)
++#if defined(__linux__) || defined(sun) || defined(__FreeBSD__)
+ // We do not want send to throw signals if there is a
+ // problem with the socket as this results in the process
+ // getting aborted. We just want it to return an error.
+@@ -275,7 +275,7 @@
+
+ int flags = 0;
+
+-#if defined(__linux__) || defined(sun)
++#if defined(__linux__) || defined(sun) || defined(__FreeBSD__)
+ // We do not want send to throw signals if there is a
+ // problem with the socket as this results in the process
+ // getting aborted. We just want it to return an error.