When merging vmpsd, one will get many warnings: implicit declaration of function 'xxx' incompatible implicit declaration of built-in function 'xxx' This could potentially lead to bugs if the listed functions would be called with wrong types parameters, as the compiler cannot check them without a valid prototype and can be easily fixed by adding a few headers inclusions. As upstream seems dead (CVS repository, last release in 2014), I'm not to post a request on sourceforge, at least for now. Reproducible: Always Steps to Reproduce: 1. Emerge vmpsd 2. Admire the build log Actual Results: Many warnings for implicit declarations of functions. Expected Results: No such warning
Created attachment 843871 [details] Output from emerge --info =net-misc/vmpsd-1.4
Created attachment 843873 [details, diff] Patch proposal to silent 'implicit declaration of functions' warnings
I think this is pretty much a duplicate of bug 883125 which contains the same errors, but given this has a patch, I'll See Also it.
Ooops... Sorry... I did not see the other submission with a search, I would have post the patch there... I notice the "metabug" #870412 for further patches of the same kind.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776788dd9d8424922c9ad961dd24929819507b9f commit 776788dd9d8424922c9ad961dd24929819507b9f Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-17 13:12:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-24 21:28:40 +0000 net-misc/vmpsd: update EAPI 7 -> 8, port to C23 Incorporates patch from the bugzilla and bugs that bitrotten since: more missing declarations, wrong declarations, missing includes. Closes: https://bugs.gentoo.org/887249 Closes: https://bugs.gentoo.org/883125 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40614 Signed-off-by: Sam James <sam@gentoo.org> net-misc/vmpsd/files/vmpsd-1.4-C23.patch | 159 +++++++++++++++++++++ .../vmpsd/files/vmpsd-1.4-missing-includes.patch | 80 +++++++++++ .../{vmpsd-1.4.ebuild => vmpsd-1.4-r1.ebuild} | 14 +- 3 files changed, 246 insertions(+), 7 deletions(-)