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
This commit is contained in:
Muhammad Moinur Rahman 2025-07-04 12:00:23 +02:00
parent d7a0b4d4ac
commit 95dd85f5d1
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
4 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= libmodbus
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.10
DISTVERSION= 3.1.11
CATEGORIES= comms
MAINTAINER= bofh@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1751494982
SHA256 (stephane-libmodbus-v3.1.10_GH0.tar.gz) = e93503749cd89fda4c8cf1ee6371a3a9cc1f0a921c165afbbc4fd96d4813fa1a
SIZE (stephane-libmodbus-v3.1.10_GH0.tar.gz) = 204988
TIMESTAMP = 1751555493
SHA256 (stephane-libmodbus-v3.1.11_GH0.tar.gz) = 8a750452ef86a53de6cec6fbca67bd5be08d0a1e87278a422fbce3003fd42d99
SIZE (stephane-libmodbus-v3.1.11_GH0.tar.gz) = 207911

View File

@ -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.

View File

@ -48,6 +48,7 @@ libdata/pkgconfig/libmodbus.pc
%%MANPAGES%%share/man/man3/modbus_rtu_set_rts_delay.3.gz
%%MANPAGES%%share/man/man3/modbus_rtu_set_serial_mode.3.gz
%%MANPAGES%%share/man/man3/modbus_send_raw_request.3.gz
%%MANPAGES%%share/man/man3/modbus_send_raw_request_tid.3.gz
%%MANPAGES%%share/man/man3/modbus_set_bits_from_byte.3.gz
%%MANPAGES%%share/man/man3/modbus_set_bits_from_bytes.3.gz
%%MANPAGES%%share/man/man3/modbus_set_byte_timeout.3.gz