Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354271 - dev-libs/libbsd-0.2.0 (New Ebuild) BSD compatibility library
Summary: dev-libs/libbsd-0.2.0 (New Ebuild) BSD compatibility library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://libbsd.freedesktop.org/wiki/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2011-02-09 19:02 UTC by Kevin McCarthy (RETIRED)
Modified: 2011-02-22 16:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild (libbsd-0.2.0.ebuild,1.86 KB, text/plain)
2011-02-09 19:03 UTC, Kevin McCarthy (RETIRED)
Details
Add missing prototypes to header files. (libbsd-0.2.0-arc4random-prototypes.patch,442 bytes, patch)
2011-02-09 19:03 UTC, Kevin McCarthy (RETIRED)
Details | Diff
Add rpath to pkg-config pc file (libbsd-0.2.0-pc-rpath.patch,396 bytes, patch)
2011-02-09 19:06 UTC, Kevin McCarthy (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McCarthy (RETIRED) gentoo-dev 2011-02-09 19:02:27 UTC
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
Comment 1 Kevin McCarthy (RETIRED) gentoo-dev 2011-02-09 19:03:03 UTC
Created attachment 261953 [details]
New ebuild
Comment 2 Kevin McCarthy (RETIRED) gentoo-dev 2011-02-09 19:03:42 UTC
Created attachment 261955 [details, diff]
Add missing prototypes to header files.
Comment 3 Kevin McCarthy (RETIRED) gentoo-dev 2011-02-09 19:06:39 UTC
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.
Comment 4 Kevin McCarthy (RETIRED) gentoo-dev 2011-02-22 16:54:24 UTC
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.