--- /dev/null
+Description: create bcftools/config.h if it doesn't exist
+ since bcftools and samtools 1.5 are using the same build system,
+ they need to be treated the same way. Compilation fails when bcftools
+ can't find its config.h.
+Author: Afif Elghraoui <afif@debian.org>
+Forwarded: https://github.com/pysam-developers/pysam/pull/533
+Last-Update: 2017-09-03
+--- python-pysam.orig/setup.py
++++ python-pysam/setup.py
+@@ -134,7 +134,8 @@
+ package_dirs = {'pysam': 'pysam',
+ 'pysam.include.samtools': 'samtools',
+ 'pysam.include.bcftools': 'bcftools'}
+-config_headers = ["samtools/config.h"]
++config_headers = ["samtools/config.h",
++ "bcftools/config.h"]
+
+ from cy_build import CyExtension as Extension, cy_build_ext as build_ext
+