[Debian-pan-maintainers] Bug#1075085: ifeffit: ftbfs with GCC-14
Niko Tyni
ntyni at debian.org
Mon Aug 5 08:39:18 BST 2024
Control: tag -1 patch
On Wed, Jul 03, 2024 at 12:30:40PM +0000, Matthias Klose wrote:
> Package: src:ifeffit
> Version: 2:1.2.11d-12.5
> Severity: important
> Tags: sid trixie
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-14
> iff_shell.c: In function ‘main’:
> iff_shell.c:176:13: error: implicit declaration of function ‘execute_line’ [-Wimplicit-function-declaration]
> 176 | ret = execute_line(s);
> | ^~~~~~~~~~~~
> iff_shell.c: In function ‘com_cd’:
> iff_shell.c:256:7: error: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration]
> 256 | if (chdir (arg) == -1) { return 1; }
> | ^~~~~
> iff_shell.c: In function ‘com_pwd’:
> iff_shell.c:262:7: error: implicit declaration of function ‘getcwd’; did you mean ‘getw’? [-Wimplicit-function-declaration]
Proposed patch attached. The package builds for me with this.
I didn't test the resulting binaries and I didn't notice any kind of a
test suite, but I don't see much chance for regression with this.
Hope this helps,
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-missing-prototypes-to-placate-gcc-14.patch
Type: text/x-diff
Size: 919 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20240805/3fac5749/attachment.patch>
More information about the Debian-pan-maintainers
mailing list