dev-libs/libbsd provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. Reproducible: Always
Created attachment 261953 [details] New ebuild
Created attachment 261955 [details, diff] Add missing prototypes to header files.
Created attachment 261957 [details, diff] Add rpath to pkg-config pc file Since this library has the same name as a static library included with glibc, it must live in /usr/${libdir}/libbsd. This patch sets rpath properly when a package uses pkg-config to configure for libbsd.
Since glibc has been changed so it no longer installs libbsd.a (bug #355899), the rpath patch has been reverted, the ebuild has been modified to install in the system directories and libbsd has been committed to the tree.