package/hddtemp: bump version to 0.4.4

https://github.com/vitlav/hddtemp/releases/tag/v0.4.4

Removed patch which is included in this release.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls
2026-02-02 20:30:52 +01:00
committed by Peter Korsgaard
parent 1b3bdcf75e
commit 56254f6cbb
3 changed files with 2 additions and 42 deletions

View File

@@ -1,40 +0,0 @@
From c9d0d249ff013d33cf1fd5a586c16ee30095cc90 Mon Sep 17 00:00:00 2001
From: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Date: Fri, 14 Feb 2025 10:08:43 +0100
Subject: [PATCH] fix build without nls
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
> hddtemp.c: In function main:
> hddtemp.c:274:3: error: implicit declaration of function bindtextdomain [-Wimplicit-function-declaration]
> 274 | bindtextdomain (PACKAGE, LOCALEDIR);
> | ^~~~~~~~~~~~~~
> hddtemp.c:275:3: error: implicit declaration of function textdomain [-Wimplicit-function-declaration]
> 275 | textdomain (PACKAGE);
> | ^~~~~~~~~~
> make[2]: *** [Makefile:496: hddtemp-hddtemp.o] Error 1
Upstream: https://github.com/vitlav/hddtemp/pull/16
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/hddtemp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hddtemp.c b/src/hddtemp.c
index 64d000e..bfea556 100644
--- a/src/hddtemp.c
+++ b/src/hddtemp.c
@@ -270,9 +270,11 @@ int main(int argc, char* argv[]) {
backtrace_sigill();
backtrace_sigbus();
+#if ENABLE_NLS
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+#endif
show_db = debug = numeric = quiet = wakeup = af_hint = syslog_interval = foreground = 0;
unit = DEFAULT;

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 592322c64f0d5f035132249e3d051b752f5d24867514522a17285d5e72d21075 hddtemp-0.4.3.tar.gz
sha256 e4a60223fdec5adcbf4cf6d2fe5c4a5c2eef256c7b89f8deab0e921a1f631daa hddtemp-0.4.4.tar.gz
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 GPL-2

View File

@@ -4,7 +4,7 @@
#
################################################################################
HDDTEMP_VERSION = 0.4.3
HDDTEMP_VERSION = 0.4.4
HDDTEMP_SITE = $(call github,vitlav,hddtemp,v$(HDDTEMP_VERSION))
HDDTEMP_LICENSE = GPLv2
HDDTEMP_LICENSE_FILES = GPL-2