summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/recon/files')
-rw-r--r--sci-biology/recon/files/recon-1.08-buffer-overflow.patch11
-rw-r--r--sci-biology/recon/files/recon-1.08-perl-shebangs.patch19
2 files changed, 30 insertions, 0 deletions
diff --git a/sci-biology/recon/files/recon-1.08-buffer-overflow.patch b/sci-biology/recon/files/recon-1.08-buffer-overflow.patch
new file mode 100644
index 000000000000..e6bf54e7c2f2
--- /dev/null
+++ b/sci-biology/recon/files/recon-1.08-buffer-overflow.patch
@@ -0,0 +1,11 @@
+--- a/src/eledef.c
++++ b/src/eledef.c
+@@ -385,7 +385,7 @@ void ele_def(int method, FILE *frags, float cutoff, EPROT_t **all_epp, int *ecp,
+
+ void img_charge(IPROT_t **shadow, int ct, FILE *input) {
+ int i=0, pos=0;
+- char line[151];
++ char line[256];
+ int scan_flag;
+ MSP_t msp;
+
diff --git a/sci-biology/recon/files/recon-1.08-perl-shebangs.patch b/sci-biology/recon/files/recon-1.08-perl-shebangs.patch
new file mode 100644
index 000000000000..769fe4a93c65
--- /dev/null
+++ b/sci-biology/recon/files/recon-1.08-perl-shebangs.patch
@@ -0,0 +1,19 @@
+Make Perl shebangs Prefix friendly
+See also: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/
+
+--- a/scripts/MSPCollect.pl
++++ b/scripts/MSPCollect.pl
+@@ -1,4 +1,4 @@
+-#! /usr/bin/perl
++#!/usr/bin/env perl
+
+ if (!@ARGV) {
+ die "usage: MSPCollect BLAST_output_file\n";
+--- a/scripts/recon.pl
++++ b/scripts/recon.pl
+@@ -1,4 +1,4 @@
+-#! /usr/bin/perl
++#!/usr/bin/env perl
+
+ $path = "";
+