sources:
  "6.2":
    url: "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz"
    sha256: "30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d"
patches:
  "6.2":
    - patch_file: "patches/0001-Look-for-pcre2posix-instead-of-pcre2-posix.h.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0002-Optionally-include-sys-time.h.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0003-Do-not-redeclare-exit.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0004-fix-win32con.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0005-api-must-be-placed-next-to-variable-name.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0006-Add-potentially-missing-STDOUT_FILENO.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0007-No-import-export-declaration-on-class-members.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0008-Add-include-file-to-add-export-annotation.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0010-Pass-BUILDING_XXX-compile-definition-while-building-.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0011-Let-each-sublibrary-do-its-own-import-exporting.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0012-Learn-configure-about-msvc.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0013-Fix-lib_gen.c.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0014-avoid-macro-expansion-in-args-by-defining-NCURSES_NO.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0015-MSVC-access-does-not-support-X_OK.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0016-msvc-has-wchar-support.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0017-msvc-fix-tests.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0018-missing-functions-c-linkage.patch"
      base_path: "source_subfolder"
    - patch_file: "patches/0019-Run-autoreconf.patch"
      base_path: "source_subfolder"
