summaryrefslogtreecommitdiff
path: root/math/primegen/files/patch-primes.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2009-03-27 12:47:38 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2009-03-27 12:47:38 +0000
commit3ace35625598bea10d4dac6e5819c4d80585f068 (patch)
tree901092c6568c6b453a1d403d91e2d2c5cf7e3544 /math/primegen/files/patch-primes.c
parentUnbreak on 8-CURRENT (diff)
New port primegen version 0.97: A small, fast library to generate
prime numbers in order
Diffstat (limited to 'math/primegen/files/patch-primes.c')
-rw-r--r--math/primegen/files/patch-primes.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/primegen/files/patch-primes.c b/math/primegen/files/patch-primes.c
new file mode 100644
index 000000000000..e622618cb69f
--- /dev/null
+++ b/math/primegen/files/patch-primes.c
@@ -0,0 +1,8 @@
+--- 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"
+