From 2bcecdfb83ad3024805bb7636afc8a1ad43241aa Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Tue, 28 Dec 2021 22:12:55 -0500 Subject: [PATCH] mdcat: update to 0.25.0 --- srcpkgs/mdcat/patches/edition.patch | 13 +++++++++++++ srcpkgs/mdcat/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/mdcat/patches/edition.patch diff --git a/srcpkgs/mdcat/patches/edition.patch b/srcpkgs/mdcat/patches/edition.patch new file mode 100644 index 000000000000..c019cc25aac7 --- /dev/null +++ b/srcpkgs/mdcat/patches/edition.patch @@ -0,0 +1,13 @@ +diff --git a/Cargo.toml b/Cargo.toml +index 3e487c5dda..516e1b468f 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -10,7 +10,7 @@ version = "0.25.0" + categories = ["command-line-utilities", "text-processing"] + license = "MPL-2.0" + authors = ["Sebastian Wiesner "] +-edition = "2021" ++edition = "2018" + + [dependencies] + ansi_term = "^0.12" diff --git a/srcpkgs/mdcat/template b/srcpkgs/mdcat/template index b418dc4fd1c9..6d8c4e30518c 100644 --- a/srcpkgs/mdcat/template +++ b/srcpkgs/mdcat/template @@ -1,6 +1,6 @@ # Template file for 'mdcat' pkgname=mdcat -version=0.24.2 +version=0.25.0 revision=1 wrksrc="${pkgname}-${pkgname}-${version}" build_style=cargo @@ -12,7 +12,7 @@ license="MPL-2.0" homepage="https://github.com/lunaryorn/mdcat" changelog="https://raw.githubusercontent.com/lunaryorn/mdcat/main/CHANGELOG.md" distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz" -checksum=2daafb8c9e90f8048810450566b4f4fde11ca76f3b5ec49c4878f68f475f3483 +checksum=92fddabab24f2e7d673b06c1f31a7746abbb547c5581faaed17a8e3e1e5b17a5 case "$XBPS_TARGET_MACHINE" in x86_64*|i686*|arm*|aarch64*) ;;