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)
This commit is contained in:
Jan Beich 2021-07-25 18:02:36 +00:00
parent 23be29fba4
commit 35c4b7b175

View file

@ -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