Date: Sun, 15 May 2022 03:49:27 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9e821db3403b - main - www/yt-dlp: Fix error: Unsupported platform: freebsd13 Message-ID: <202205150349.24F3nRmO010280@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e821db3403b83c81a105745f9a73f71083f6dee commit 9e821db3403b83c81a105745f9a73f71083f6dee Author: Saul Newman <saul.newman@gmail.com> AuthorDate: 2022-05-15 03:47:05 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-05-15 03:49:24 +0000 www/yt-dlp: Fix error: Unsupported platform: freebsd13 --- www/yt-dlp/Makefile | 1 + www/yt-dlp/files/patch-yt__dlp_cookies.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index 4b276f14d3f1..a27bd05f3715 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,5 +1,6 @@ PORTNAME= yt-dlp DISTVERSION= 2022.04.08 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/yt-dlp/files/patch-yt__dlp_cookies.py b/www/yt-dlp/files/patch-yt__dlp_cookies.py new file mode 100644 index 000000000000..b9562230e38b --- /dev/null +++ b/www/yt-dlp/files/patch-yt__dlp_cookies.py @@ -0,0 +1,11 @@ +--- yt_dlp/cookies.py.orig 2022-05-14 11:34:22.365323000 -0400 ++++ yt_dlp/cookies.py 2022-05-14 11:34:52.544340000 -0400 +@@ -140,7 +140,7 @@ + + + def _firefox_browser_dir(): +- if sys.platform in ('linux', 'linux2'): ++ if sys.platform in ('linux', 'linux2','freebsd13','freebsd14'): + return os.path.expanduser('~/.mozilla/firefox') + elif sys.platform == 'win32': + return os.path.expandvars(r'%APPDATA%\Mozilla\Firefox\Profiles')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205150349.24F3nRmO010280>