From 534ca8e3979fab3e7e42f43fca4506eb8d77c686 Mon Sep 17 00:00:00 2001 From: Stefan Hellermann Date: Thu, 25 Dec 2025 14:44:04 +0100 Subject: [PATCH] libmodbus: update to 3.1.11 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 --- libs/libmodbus/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libmodbus/Makefile b/libs/libmodbus/Makefile index 70acb00bc5..c07167c98d 100644 --- a/libs/libmodbus/Makefile +++ b/libs/libmodbus/Makefile @@ -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