diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-11 19:12:02 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-11 19:12:02 +0000 |
commit | d70b325d751a21d860065cb0b373e219f37ec265 (patch) | |
tree | 3cdc06fd2db037da3543a71cea4e1e1f06e1cda1 /sci-libs/primegen/files | |
parent | amd64 stable, bug #267081 (diff) | |
download | gentoo-2-d70b325d751a21d860065cb0b373e219f37ec265.tar.gz gentoo-2-d70b325d751a21d860065cb0b373e219f37ec265.tar.bz2 gentoo-2-d70b325d751a21d860065cb0b373e219f37ec265.zip |
Fixed missing headers QA, added a test, and included the uint32.h and uint64.h in primegen.h to avoid collision with dev-db/cdb. Closing bug #248327 and bug #279295
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/primegen/files')
-rw-r--r-- | sci-libs/primegen/files/primegen-0.97-missing-headers.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-libs/primegen/files/primegen-0.97-missing-headers.patch b/sci-libs/primegen/files/primegen-0.97-missing-headers.patch new file mode 100644 index 000000000000..4f919d92ee8d --- /dev/null +++ b/sci-libs/primegen/files/primegen-0.97-missing-headers.patch @@ -0,0 +1,46 @@ +--- eratspeed.c.orig 2009-03-27 09:16:52.000000000 -0300 ++++ eratspeed.c 2009-03-27 09:18:29.000000000 -0300 +@@ -1,6 +1,8 @@ + #define B32 1001 + #define B (B32 * 32) + ++#include <stdio.h> ++#include <stdlib.h> + #include "timing.h" + #include "uint32.h" + +--- primegaps.c.orig 2009-03-27 09:17:07.000000000 -0300 ++++ primegaps.c 2009-03-27 09:17:19.000000000 -0300 +@@ -1,4 +1,5 @@ + #include <math.h> ++#include <stdio.h> + #include "primegen.h" + + primegen pg; +--- primes.c.orig 2009-03-27 09:19:08.000000000 -0300 ++++ primes.c 2009-03-27 09:19:14.000000000 -0300 +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <stdlib.h> + #include "primegen.h" + #include "fs64.h" + +--- primespeed.c.orig 2009-03-27 09:17:41.000000000 -0300 ++++ primespeed.c 2009-03-27 09:18:54.000000000 -0300 +@@ -1,3 +1,5 @@ ++#include <stdio.h> ++#include <stdlib.h> + #include "timing.h" + #include "primegen.h" + #include "primegen_impl.h" +--- error.h.orig 2009-09-11 19:40:53.000000000 +0100 ++++ error.h 2009-09-11 19:41:02.000000000 +0100 +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h> + + extern int error_intr; + extern int error_nomem; |