libmodbus: update to 3.1.11
authorStefan Hellermann <stefan@the2masters.de>
Thu, 25 Dec 2025 13:44:04 +0000 (14:44 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Sun, 28 Dec 2025 10:48:16 +0000 (11:48 +0100)
fixes float endianness issues in 3.1.8.

I use a small, custom application to convert data from my
electricity meter into Modbus format for my inverter and wallbox.
I developed this program against an earlier version of libmodbus
on x86, and it ran flawlessly on my ath79 router (big endian).
After migrating to a Mediatek router (little endian), the program
only outputted huge, meaningless values. However, it ran perfectly
fine on my x86 system (little endian), which is running Fedora
with libmodbus v3.1.11.

I then found several bug reports and the changelogs for libmodbus 3.1.11
that described and resolved my problem. So update openwrt to 3.1.11.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
libs/libmodbus/Makefile

index 70acb00bc5eef57f2386db84600ca0dcb7d9ca73..c07167c98dbddb453762d9e4e1c8644a5b6235fc 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libmodbus
-PKG_VERSION:=3.1.8
+PKG_VERSION:=3.1.11
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/stephane/libmodbus/releases/download/v$(PKG_VERSION)/
-PKG_HASH:=b122f2bc29f749702a22c0a760a7ca2182d541f5fa26bf25e3431f907b606f3c
+PKG_HASH:=15b4b2e0f68122c2da9b195de5c330489a9c97d40b4a95d2822378dc14d780e7
 
 PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>