Control: tags 1066216 + patch
Control: tags 1066216 + pending
Dear maintainer,
I've prepared an NMU for hfsutils (versioned as 3.2.6-15.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.
Cheers
--
Sebastian Ramacher
diff -Nru hfsutils-3.2.6/debian/changelog hfsutils-3.2.6/debian/changelog
--- hfsutils-3.2.6/debian/changelog 2021-01-23 15:23:26.0 +0100
+++ hfsutils-3.2.6/debian/changelog 2024-04-14 12:39:50.0 +0200
@@ -1,3 +1,10 @@
+hfsutils (3.2.6-15.1) unstable; urgency=medium
+
+ [ Benjamin Drung ]
+ * Explicitly import string.h (Closes: #1066216, LP: #2060708)
+
+ -- Sebastian Ramacher Sun, 14 Apr 2024 12:39:50 +0200
+
hfsutils (3.2.6-15) unstable; urgency=medium
* Set myself as maintainer in debian/control (Closes: #60)
diff -Nru hfsutils-3.2.6/debian/patches/Explicitly-include-string.h.patch hfsutils-3.2.6/debian/patches/Explicitly-include-string.h.patch
--- hfsutils-3.2.6/debian/patches/Explicitly-include-string.h.patch 1970-01-01 01:00:00.0 +0100
+++ hfsutils-3.2.6/debian/patches/Explicitly-include-string.h.patch 2024-04-14 12:38:09.0 +0200
@@ -0,0 +1,37 @@
+From: Benjamin Drung
+Date: Tue, 9 Apr 2024 18:21:33 +0200
+Subject: Explicitly include string.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset="utf-8"
+Content-Transfer-Encoding: 8bit
+
+> gcc -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ilibhfs -I/usr/include/tcl -I/usr/include/tk -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hpwd.o hpwd.c
+> hpwd.c: In function ‘hpwd_main’:
+> hpwd.c:55:7: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
+> 55 | if (strcmp(ent->cwd, ":") == 0)
+> | ^~
+> hpwd.c:32:1: note: include ‘’ or provide a declaration of ‘strcmp’
+> 31 | # include "hpwd.h"
+> +++ |+#include
+> 32 |
+> cc1: some warnings being treated as errors
+> make[1]: *** [: hpwd.o] Error 1
+
+Closes: #1066216
+LP: #2060708
+---
+ hpwd.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/hpwd.c b/hpwd.c
+index cd3b100..84c34cf 100644
+--- a/hpwd.c
b/hpwd.c
+@@ -24,6 +24,7 @@
+ # endif
+
+ # include
++# include
+
+ # include "hfs.h"
+ # include "hcwd.h"
diff -Nru hfsutils-3.2.6/debian/patches/series hfsutils-3.2.6/debian/patches/series
--- hfsutils-3.2.6/debian/patches/series 2021-01-23 15:23:26.0 +0100
+++ hfsutils-3.2.6/debian/patches/series 2024-04-14 12:38:09.0 +0200
@@ -2,3 +2,4 @@
0002-Fix-FTBFS-with-gcc-3.4.patch
0003-Add-support-for-files-larger-than-2GB.patch
0004-Add-DUSE_INTERP_RESULT-to-DEFINES-in-Makefile.in.patch
+Explicitly-include-string.h.patch