Control: tag -1 patch Hi, On Wed, Jul 03, 2024 at 12:33:48PM +0000, Matthias Klose wrote:
Package: src:libmoe Version: 1.5.8-5 Severity: important Tags: sid trixie User: debian-...@lists.debian.org Usertags: ftbfs-gcc-14altmalloc.c:87:7: error: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 87 | memset((char *)newv + elem_size * n, 0, elem_size * (newsize - n)); | ^~~~~~ altmalloc.c:2:1: note: include ‘<string.h>’ or provide a declaration of ‘memset’ 1 | #include "altmalloc.h" +++ |+#include <string.h> 2 |
I have attached one patch to fix this. But it seems the package did not taken care of for a long time. -- Regards, -- Bo YU
diff -Nru libmoe-1.5.8/debian/changelog libmoe-1.5.8/debian/changelog --- libmoe-1.5.8/debian/changelog 2018-10-03 22:24:26.000000000 -0400 +++ libmoe-1.5.8/debian/changelog 2024-08-27 13:15:23.000000000 -0400 @@ -1,3 +1,10 @@ +libmoe (1.5.8-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix ftbfs on gcc-14. (Closes: #1075187) + + -- Bo YU <tsu.y...@gmail.com> Tue, 27 Aug 2024 13:15:23 -0400 + libmoe (1.5.8-5) unstable; urgency=medium [ Ondřej Nový ] diff -Nru libmoe-1.5.8/debian/patches/fix-gcc14-ftbfs.patch libmoe-1.5.8/debian/patches/fix-gcc14-ftbfs.patch --- libmoe-1.5.8/debian/patches/fix-gcc14-ftbfs.patch 1969-12-31 19:00:00.000000000 -0500 +++ libmoe-1.5.8/debian/patches/fix-gcc14-ftbfs.patch 2024-08-27 13:10:16.000000000 -0400 @@ -0,0 +1,17 @@ +Description: fix ftbfs on gcc-14 +Author: Bo YU <tsu.y...@gmail.com> +Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075187 +Forwarded: s...@ks-and-ks.ne.jp +Last-Update: 2024-08-27 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/altmalloc.h ++++ b/altmalloc.h +@@ -4,6 +4,7 @@ + #include <stdarg.h> + #include <stddef.h> + #include <stdlib.h> ++#include <string.h> + + typedef void *(*alt_allocater_t)(size_t); + typedef void *(*alt_reallocater_t)(void *, size_t); diff -Nru libmoe-1.5.8/debian/patches/series libmoe-1.5.8/debian/patches/series --- libmoe-1.5.8/debian/patches/series 2018-10-03 22:24:26.000000000 -0400 +++ libmoe-1.5.8/debian/patches/series 2024-08-27 12:59:48.000000000 -0400 @@ -1 +1,2 @@ gcc5.patch +fix-gcc14-ftbfs.patch
signature.asc
Description: PGP signature