pkgsrc/sysutils/file/patches/patch-magic_Magdir_bioinformatics
2016-06-16 16:16:44 +00:00

17 lines
587 B
Text

$NetBSD: patch-magic_Magdir_bioinformatics,v 1.2 2016/06/16 16:16:45 fhajny Exp $
Fix unbalanced parantheses in regex.
Upstream bug reported: http://bugs.gw.com/view.php?id=558
--- magic/Magdir/bioinformatics.orig 2016-02-14 15:53:53.000000000 +0000
+++ magic/Magdir/bioinformatics
@@ -163,7 +163,7 @@
# SAM Alignment MAPQ
>>>>0 regex =^([^\t]+\t){4}[0-9]{1,3}\t
# SAM Alignment CIGAR
->>>>>0 regex =\t\\*|([0-9]+[MIDNSHPX=])+)\t
+>>>>>0 regex =\t(\\*|([0-9]+[MIDNSHPX=])+)\t
# SAM Alignment RNEXT
>>>>>>0 regex =\t(\\*|=|[!-()+->?-~][!-~]*)\t
# SAM Alignment PNEXT