Date: Fri, 9 Feb 2024 01:46:50 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c2c97cf49343 - main - x11-wm/cosmic-comp: simplify patching Message-ID: <202402090146.4191koIr044681@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2c97cf493439320e5424da29a00466e0795979e commit c2c97cf493439320e5424da29a00466e0795979e Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-02-09 01:34:11 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-02-09 01:46:16 +0000 x11-wm/cosmic-comp: simplify patching --- x11-wm/cosmic-comp/Makefile | 3 +++ x11-wm/cosmic-comp/files/patch-Cargo.toml | 19 ------------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/x11-wm/cosmic-comp/Makefile b/x11-wm/cosmic-comp/Makefile index 6787f259fd6b..bd34c90252ca 100644 --- a/x11-wm/cosmic-comp/Makefile +++ b/x11-wm/cosmic-comp/Makefile @@ -31,6 +31,9 @@ post-patch: # XXX Strip double / to help "make cargo-crates" @${REINPLACE_CMD} -e 's,\(smithay\)//,\1/,' \ ${WRKSRC}/Cargo.lock +# XXX Drop [patch.<url>] section to help "make cargo-configure" + @${REINPLACE_CMD} -e '/\[patch/,$$d' \ + ${WRKSRC}/Cargo.toml # Respect PREFIX for system-wide config @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/src/config/mod.rs diff --git a/x11-wm/cosmic-comp/files/patch-Cargo.toml b/x11-wm/cosmic-comp/files/patch-Cargo.toml deleted file mode 100644 index 51758a3b65a7..000000000000 --- a/x11-wm/cosmic-comp/files/patch-Cargo.toml +++ /dev/null @@ -1,19 +0,0 @@ -===> Updating Cargo.lock -error: failed to resolve patches for `https://github.com/Smithay/smithay.git` - -Caused by: - patch for `smithay` in `https://github.com/Smithay/smithay.git` failed to resolve - -Caused by: - The patch location `https://github.com/smithay/smithay?rev=f1e7fc18a` does not appear to contain any packages matching the name `smithay`. -*** Error code 101 - ---- Cargo.toml.orig 2024-02-07 20:40:23 UTC -+++ Cargo.toml -@@ -89,6 +89,3 @@ lto = "fat" - - [profile.release] - lto = "fat" -- --[patch."https://github.com/Smithay/smithay.git"] --smithay = { git = "https://github.com/smithay//smithay", rev = "3b3e07952e" }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402090146.4191koIr044681>