--- /dev/null
+Description: fix test failure with htslib 1.20.
+ This data file contains invalid data, which is diagnosed by
+ improvements in bam_parse_basemod2() in HTSlib 1.20. Updating these
+ base modification data files to the versions in htslib and hts-specs
+ corrects the problem.
+
+Author: John Marshall
+Origin: upstream, https://github.com/pysam-developers/pysam/issues/1291#issuecomment-2131146211
+Bug: https://github.com/pysam-developers/pysam/issues/1291
+Reviewed-by: Étienne Mollier <emollier@debian.org>
+Last-Update: 2024-05-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-pysam.orig/tests/pysam_data/MM-chebi.sam
++++ python-pysam/tests/pysam_data/MM-chebi.sam
+@@ -1,2 +1,2 @@
+ @CO Separate m, h and N modifications
+-* 0 * 0 0 * * 0 0 AGCTCTCCAGAGTCGNACGCCATYCGCGCGCCACCA * Mm:Z:C+m,2,2,1,4,1;C+76792,6,7;N+n,15; Ml:B:C,102,128,153,179,204,161,187,212,169
++* 0 * 0 0 * * 0 0 AGCTCTCCAGAGTCGNACGCCATYCGCGCGCCACCA * Mm:Z:C+m,2,2,1,4,1;C+76792,6,7;N+n,15; Ml:B:C,102,128,153,179,204,161,187,212