diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/primegen/files/primegen-0.97-man.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/primegen/files/primegen-0.97-man.patch')
-rw-r--r-- | sci-libs/primegen/files/primegen-0.97-man.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-libs/primegen/files/primegen-0.97-man.patch b/sci-libs/primegen/files/primegen-0.97-man.patch new file mode 100644 index 000000000000..069409f1df76 --- /dev/null +++ b/sci-libs/primegen/files/primegen-0.97-man.patch @@ -0,0 +1,24 @@ +Fix incorrect man page and include mention of the possibility +of linking to a static libary only. +https://bugs.gentoo.org/show_bug.cgi?id=562570 + +--- primegen-0.97/primegen.3 ++++ primegen-0.97/primegen.3 +@@ -14,13 +14,16 @@ + .br + void \fBprimegen_skipto\fP(&\fIpg\fR,\fIbound\fR); + +-struct primegen \fIpg\fR; ++primegen \fIpg\fR; + .br + uint64 \fIbound\fR; + .SH DESCRIPTION + The primegen library generates prime numbers in order: + 2, 3, 5, 7, etc. + It can generate primes as large as 10^15. ++Only a static version of this library is provided, so instead of ++linking your program with -lprimegen you will have to pass the ++full path to the library (e.g. /usr/lib/primegen.a) to the compiler. + + The simplest way to use primegen + is to call |