summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2008-07-23 20:34:55 +0000
committerMichael Januszewski <spock@gentoo.org>2008-07-23 20:34:55 +0000
commit56abe49e27cfa2a35199c86c36ede04fae65a964 (patch)
treedd33eb148c98001a171557f1cdaa6f9656f882e1 /sci-libs/primegen
parentFix python and xmp switches to econf (bug #231988) (diff)
downloadhistorical-56abe49e27cfa2a35199c86c36ede04fae65a964.tar.gz
historical-56abe49e27cfa2a35199c86c36ede04fae65a964.tar.bz2
historical-56abe49e27cfa2a35199c86c36ede04fae65a964.zip
Fix bug #200935.
Package-Manager: portage-2.2_rc2/cvs/Linux 2.6.26 x86_64
Diffstat (limited to 'sci-libs/primegen')
-rw-r--r--sci-libs/primegen/ChangeLog6
-rw-r--r--sci-libs/primegen/Manifest13
-rw-r--r--sci-libs/primegen/files/primegen-0.97-man.patch13
-rw-r--r--sci-libs/primegen/primegen-0.97.ebuild10
4 files changed, 33 insertions, 9 deletions
diff --git a/sci-libs/primegen/ChangeLog b/sci-libs/primegen/ChangeLog
index b2fa417e63c4..24f4a519a16a 100644
--- a/sci-libs/primegen/ChangeLog
+++ b/sci-libs/primegen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/primegen
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/primegen/ChangeLog,v 1.6 2008/04/06 17:46:56 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/primegen/ChangeLog,v 1.7 2008/07/23 20:34:55 spock Exp $
+
+ 23 Jul 2008; Michał Januszewski <spock@gentoo.org>
+ +files/primegen-0.97-man.patch, primegen-0.97.ebuild:
+ Fix bug #200935.
06 Apr 2008; Benedikt Böhm <hollow@gentoo.org> primegen-0.97.ebuild:
fix LICENSE, bug #204327
diff --git a/sci-libs/primegen/Manifest b/sci-libs/primegen/Manifest
index 1a075e1e84a0..d6ed84655191 100644
--- a/sci-libs/primegen/Manifest
+++ b/sci-libs/primegen/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX primegen-0.97-man.patch 605 RMD160 ea87cfcc3f203402dfcb801e4da3c0469de1bf5b SHA1 faf595becdec8ef8b0f60779df8942645f5a8afc SHA256 c1083aaddbb8c03eaf6bd368fa6709c2b6480fd59190557b52e5a13f56b87162
DIST primegen-0.97.tar.gz 31491 RMD160 6f18fb8819e5589b0d7701f2dd69a2d8be4138b3 SHA1 bd6189ef6855b1557836409827af3218bf55fb8c SHA256 54285baf8eed9e421ff2220a2112d38cfb20c1ebef6014ef3f0004c22c95f40d
-EBUILD primegen-0.97.ebuild 950 RMD160 86d37d22f818b5deea75110f7d2babf2d069bc10 SHA1 a1305b16af13d444f2c9e4e3bb593ba30a86b6dc SHA256 3f797bb22667a8c0060e6021b2f19e77ea97b22c8885857d0a214ec3c938632e
-MISC ChangeLog 1521 RMD160 e0d2e129c9546d4a9ace84011b68740f6a31fe99 SHA1 71bb1a02b45b2908d8c77aa29f244db7ed0d7ed0 SHA256 bcf053e849f809b75f690d446eee08dacd43a2bd23e8f7e8a2db139546c21e20
+EBUILD primegen-0.97.ebuild 1035 RMD160 34a330fd9435df18ad95eb311030abe7b780432d SHA1 777995fd2d7b7243337f013d8a172c02338f9794 SHA256 e1c5c0e2d3f7dc1eac4027dafad80f45071dcf8856e4381f9966862fdb2d8f2c
+MISC ChangeLog 1650 RMD160 b13cc0fd7450f3176f4de2aa4b434f4f7fdf76e6 SHA1 7a7fd952c48e3fe82af07eb716f9282c20810027 SHA256 1ad85294dac024c2b8805bff405fb2c2685dc6edf7591114a3b7cf7a64473b3d
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFH+QyVmPFBzbX68WERAmLSAJ4rTa3VXtfEBH5F1HvqhqydrojAAQCfWgdT
-iM0B+03U4jYZZb15/dNtfIo=
-=Q+eU
+iEYEARECAAYFAkiHlcMACgkQchej4aZK9/c93wCcCMKPXnhcWnPLsqFXxsrgxFvs
+AzAAnA0aO836L1a4YzYxSTv7hI1KLDwx
+=3VwB
-----END PGP SIGNATURE-----
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..025b88cbabd9
--- /dev/null
+++ b/sci-libs/primegen/files/primegen-0.97-man.patch
@@ -0,0 +1,13 @@
+diff -Naurp primegen-0.97-orig/primegen.3 primegen-0.97/primegen.3
+--- primegen-0.97-orig/primegen.3 2008-07-23 22:27:52.000000000 +0200
++++ primegen-0.97/primegen.3 2008-07-23 22:26:52.000000000 +0200
+@@ -21,6 +21,9 @@ uint64 \fIbound\fR;
+ 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
diff --git a/sci-libs/primegen/primegen-0.97.ebuild b/sci-libs/primegen/primegen-0.97.ebuild
index 94ad20a45221..ffdbb00382d3 100644
--- a/sci-libs/primegen/primegen-0.97.ebuild
+++ b/sci-libs/primegen/primegen-0.97.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/primegen/primegen-0.97.ebuild,v 1.5 2008/04/06 17:46:56 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/primegen/primegen-0.97.ebuild,v 1.6 2008/07/23 20:34:55 spock Exp $
-inherit flag-o-matic toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="A small, fast library to generate primes in order"
HOMEPAGE="http://cr.yp.to/primegen.html"
@@ -15,6 +15,12 @@ IUSE=""
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-man.patch"
+}
+
src_compile() {
# Fixes bug #161015
append-flags -fsigned-char