| Summary: | net-misc/openssh generates warning implicit declaration of function 'fnmatch' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gamcheong Yuen <microsoft.zh.cn> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | kfm, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Gamcheong Yuen
2021-07-25 09:11:27 UTC
(In reply to Gamcheong Yuen from comment #0) > net-misc/openssh generates warning implicit declaration of function > 'fnmatch' while compiling. > > Due to openssh-8.3_p1-sha2-include.patch, `-I$(srcdir)/openbsd-compat` > argument is added to the compiler, which makes scp.c includes > $(srcdir)/openbsd-compat/fnmatch.h instead of /usr/include/fnmatch.h. > > Reproducible: Always > > Steps to Reproduce: > 1. emerge openssh > 2. > 3. > Actual Results: > Compiled successfully, with warning: implicit declaration of function > 'fnmatch' is invalid in C99 [-Wimplicit-function-declaration] > > Expected Results: > Compiled successfully without warning. > > Please consider remove patch openssh-8.3_p1-sha2-include.patch Or consider use another way to include sha2.h for SHA2 support. This patch is gone. |