summaryrefslogtreecommitdiff
path: root/comms/libmodbus/files/patch-src_modbus-tcp.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-07-04 12:00:23 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-07-04 12:28:19 +0200
commit95dd85f5d1448b29ee835d1a9acf5c9562e9aba7 (patch)
treea78500fd5789721e5018863889d3560432407e67 /comms/libmodbus/files/patch-src_modbus-tcp.c
parentnet/gnome-online-accounts: Update to 3.54.4 (diff)
comms/libmodbus: Update version 3.1.10=>3.1.11
Changelog: https://github.com/stephane/libmodbus/releases/tag/v3.1.11 PR: 287898 Reported by: pi
Diffstat (limited to 'comms/libmodbus/files/patch-src_modbus-tcp.c')
-rw-r--r--comms/libmodbus/files/patch-src_modbus-tcp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/libmodbus/files/patch-src_modbus-tcp.c b/comms/libmodbus/files/patch-src_modbus-tcp.c
new file mode 100644
index 000000000000..1d317dedc173
--- /dev/null
+++ b/comms/libmodbus/files/patch-src_modbus-tcp.c
@@ -0,0 +1,11 @@
+--- src/modbus-tcp.c.orig 2025-07-03 21:07:28 UTC
++++ src/modbus-tcp.c
+@@ -257,7 +257,7 @@ static int _modbus_tcp_set_ipv4_options(int s)
+ #endif
+ #endif
+
+-#ifndef OS_WIN32
++#if !defined(OS_WIN32) && !defined(__FreeBSD__)
+ /**
+ * Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's
+ * necessary to workaround that problem.