mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
mpv: bump version
This commit is contained in:
@@ -5,9 +5,9 @@ types."
|
||||
HOMEPAGE="https://mpv.io/"
|
||||
COPYRIGHT="2013-2018 MPV Developers"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/mpv-player/mpv/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="33a1bcb7e74ff17f070e754c15c52228cf44f2cefbfd8f34886ae81df214ca35"
|
||||
CHECKSUM_SHA256="805a3ac8cf51bfdea6087a6480c18835101da0355c8e469b6d488a1e290585a5"
|
||||
SOURCE_FILENAME="mpv-$portVersion.tar.gz"
|
||||
wafVersion="2.0.11"
|
||||
SOURCE_URI_2="https://waf.io/waf-$wafVersion#noarchive"
|
||||
@@ -1,14 +1,14 @@
|
||||
From eb5d9214f0314a13c7cb245d9950c5c9aa180f61 Mon Sep 17 00:00:00 2001
|
||||
From b16e4a9c378eb86ffa8ce9782dd9145aed56b053 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Fri, 7 Sep 2018 22:22:58 +1000
|
||||
Date: Thu, 2 Jan 2020 21:16:37 +0300
|
||||
Subject: disable setlocale for haiku
|
||||
|
||||
|
||||
diff --git a/player/main.c b/player/main.c
|
||||
index f56191a..89aa0cd 100644
|
||||
index 983f463..6fd587b 100644
|
||||
--- a/player/main.c
|
||||
+++ b/player/main.c
|
||||
@@ -257,6 +257,7 @@ static bool check_locale(void)
|
||||
@@ -258,6 +258,7 @@ static bool check_locale(void)
|
||||
|
||||
struct MPContext *mp_create(void)
|
||||
{
|
||||
@@ -16,15 +16,15 @@ index f56191a..89aa0cd 100644
|
||||
if (!check_locale()) {
|
||||
// Normally, we never print anything (except if the "terminal" option
|
||||
// is enabled), so this is an exception.
|
||||
@@ -264,7 +265,7 @@ struct MPContext *mp_create(void)
|
||||
@@ -265,7 +266,7 @@ struct MPContext *mp_create(void)
|
||||
"Call 'setlocale(LC_NUMERIC, \"C\");' in your code.\n");
|
||||
return NULL;
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
char *enable_talloc = getenv("MPV_LEAK_REPORT");
|
||||
if (enable_talloc && strcmp(enable_talloc, "1") == 0)
|
||||
talloc_enable_leak_report();
|
||||
if (!enable_talloc)
|
||||
enable_talloc = HAVE_TA_LEAK_REPORT ? "1" : "0";
|
||||
--
|
||||
2.16.4
|
||||
2.24.1
|
||||
|
||||
Reference in New Issue
Block a user