git: daaf149ba7fe - 2021Q3 - multimedia/mpv: unbreak fetch via local copy

Jan Beich jbeich at FreeBSD.org
Sun Jul 25 18:20:21 UTC 2021


The branch 2021Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=daaf149ba7fe96da149f0e737d0bb18576008821

commit daaf149ba7fe96da149f0e737d0bb18576008821
Author:     Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-07-25 18:02:36 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-07-25 18:20:18 +0000

    multimedia/mpv: unbreak fetch via local copy
    
    Index abbreviation in git-format-patch(1) output seems to change
    frequently, probably due to GitHub load balancing.
    
    $ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles)
    [...]
    => 62fb374349e0.patch doesn't seem to exist in /tmp/distfiles.kipot6aT/.
    => Attempting to fetch https://github.com/mpv-player/mpv/commit/62fb374349e0.patch
    fetch: https://github.com/mpv-player/mpv/commit/62fb374349e0.patch: size mismatch: expected 2083, actual 2079
    => Couldn't fetch it - please try to retrieve this
    => port manually into /tmp/distfiles.kipot6aT/ and try again.
    *** Error code 1
    
    Reported by:    LuMiWa (via multimedia@ list)
    
    (cherry picked from commit 35c4b7b1757e67c36d37a6e3f50d35c47f500e17)
---
 multimedia/mpv/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 19e935053e6c..e868169f75f4 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES=	https://waf.io/:waf
 DISTFILES=	${WAF_RELEASE}${EXTRACT_SUFX}:waf
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCH_SITES+=	LOCAL/jbeich/${PORTNAME}_patches # backup
 PATCHFILES+=	1bb2665e3d09.patch:-p1 59c32a04b04d.patch:-p1 62fb374349e0.patch:-p1
 PATCHFILES+=	24525e4ef9ba.patch:-p1 4dd5fdc0876e.patch:-p1 4d80314c5c88.patch:-p1
 PATCHFILES+=	1b2e5137e04b.patch:-p1 # https://github.com/mpv-player/mpv/pull/8312


More information about the dev-commits-ports-branches mailing list