sources:
  "3.7.1":
    url: "https://ftp.gnu.org/gnu/bison/bison-3.7.1.tar.gz"
    sha256: "1dd952839cf0d5a8178c691eeae40dc48fa50d18dcce648b1ad9ae0195367d13"
  "3.5.3":
    url: "https://ftp.gnu.org/gnu/bison/bison-3.5.3.tar.gz"
    sha256: "34e201d963156618a0ea5bc87220f660a1e08403dd3c7c7903d4f38db3f40039"
patches:
  "3.7.1":
    - patch_file: "patches/0001-create_pipe-uses-O_TEXT-not-O_BINARY-mode.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0002-3.7.1-open-source-file-in-binary-mode-MS-ftell-bug-ks-68337.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0005-gnulib-limit-search-range-of-_setmaxstdio.patch"
      base_path: "source_subfolder"
  "3.5.3":
    - patch_file: "patches/0001-create_pipe-uses-O_TEXT-not-O_BINARY-mode.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0002-3.5.3-open-source-file-in-binary-mode-MS-ftell-bug-ks-68337.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0003-3.5.3-msvc-changes.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0004-3.5.3-relocatable.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0005-gnulib-limit-search-range-of-_setmaxstdio.patch"
      base_path: "source_subfolder"
