From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-libs/primegen/files/primegen-0.97-man.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sci-libs/primegen/files/primegen-0.97-man.patch (limited to 'sci-libs/primegen/files/primegen-0.97-man.patch') 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 -- cgit v1.2.3