diff options
Diffstat (limited to 'sci-biology/primer3/files/primer3-2.3.7-gcc7.patch')
-rw-r--r-- | sci-biology/primer3/files/primer3-2.3.7-gcc7.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-biology/primer3/files/primer3-2.3.7-gcc7.patch b/sci-biology/primer3/files/primer3-2.3.7-gcc7.patch new file mode 100644 index 00000000000..a04ee1ac3b1 --- /dev/null +++ b/sci-biology/primer3/files/primer3-2.3.7-gcc7.patch @@ -0,0 +1,17 @@ +--- a/src/thal.c ++++ b/src/thal.c +@@ -426,12 +426,12 @@ + "Illegal type"); + o->align_end_1 = -1; + o->align_end_2 = -1; +- if ('\0' == oligo_f) { ++ if ('\0' == oligo_f[0]) { + strcpy(o->msg, "Empty first sequence"); + o->temp = 0.0; + return; + } +- if ('\0' == oligo_r) { ++ if ('\0' == oligo_r[0]) { + strcpy(o->msg, "Empty second sequence"); + o->temp = 0.0; + return; |