mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
www/yt-dlp: Fix error: Unsupported platform: freebsd13
This commit is contained in:
parent
9b7025946f
commit
9e821db340
@ -1,5 +1,6 @@
|
||||
PORTNAME= yt-dlp
|
||||
DISTVERSION= 2022.04.08
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
11
www/yt-dlp/files/patch-yt__dlp_cookies.py
Normal file
11
www/yt-dlp/files/patch-yt__dlp_cookies.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user