summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--biology/recombine/Makefile2
-rw-r--r--math/prng/files/patch-examples_pairs.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/biology/recombine/Makefile b/biology/recombine/Makefile
index 2f3bb0a0bd80..f734b9590cbc 100644
--- a/biology/recombine/Makefile
+++ b/biology/recombine/Makefile
@@ -3,7 +3,7 @@
PORTNAME= recombine
PORTVERSION= 1.41
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= biology
MASTER_SITES= http://evolution.gs.washington.edu/lamarc/recombine/
DISTNAME= ${PORTNAME}${PORTVERSION}.src.doc
diff --git a/math/prng/files/patch-examples_pairs.c b/math/prng/files/patch-examples_pairs.c
new file mode 100644
index 000000000000..50d3eeb5cf8d
--- /dev/null
+++ b/math/prng/files/patch-examples_pairs.c
@@ -0,0 +1,10 @@
+--- examples/pairs.c.orig 2000-10-17 08:39:02.000000000 -0700
++++ examples/pairs.c 2019-09-01 21:02:29.348451000 -0700
+@@ -53,6 +53,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include "prng.h"
++#define gets(_a) gets_s(_a, sizeof(_a))
+
+ struct prng_struct *generator;
+ char outfile[200] = "pairs.out";