summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-09 20:21:46 -0700
committerKhem Raj <raj.khem@gmail.com>2023-09-10 06:49:11 -0700
commit878e71e34400d34143533c8e14d228eb081a8506 (patch)
tree90d5c23627b65df4320000dee410e75c95aa03b3
parent38f62a5fb36ea55205598830bb683ab7447e7fe2 (diff)
downloadmeta-openembedded-878e71e34400d34143533c8e14d228eb081a8506.tar.gz
vlc: Fix build with gettext 0.22+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc/0001-po-Fix-invalid-.oc-translation-format-string.patch44
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb1
2 files changed, 45 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/0001-po-Fix-invalid-.oc-translation-format-string.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/0001-po-Fix-invalid-.oc-translation-format-string.patch
new file mode 100644
index 000000000..866ed0329
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc/0001-po-Fix-invalid-.oc-translation-format-string.patch
@@ -0,0 +1,44 @@
1From fc4bd86bea0b81da0b6fa5be0a352aecc8fa690a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 9 Sep 2023 20:13:55 -0700
4Subject: [PATCH] po: Fix invalid .oc translation format string
5
6gettext can validate format strings now [1] with 0.22 and newer release
7
8[1] https://savannah.gnu.org/bugs/index.php?64332#comment1
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 po/oc.po | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16diff --git a/po/oc.po b/po/oc.po
17index 667696cfe7..ddb1677d8a 100644
18--- a/po/oc.po
19+++ b/po/oc.po
20@@ -5298,18 +5298,18 @@ msgstr "Comanda+"
21 #: src/misc/update.c:482
22 #, c-format
23 msgid "%.1f GiB"
24-msgstr "%.lf Gio"
25+msgstr "%.1f Gio"
26
27 #: src/misc/update.c:484
28 #, c-format
29 msgid "%.1f MiB"
30-msgstr "%.lf Mio"
31+msgstr "%.1f Mio"
32
33 #: src/misc/update.c:486 modules/gui/macosx/VLCPlaylistInfo.m:138
34 #: modules/gui/macosx/VLCPlaylistInfo.m:140
35 #, c-format
36 msgid "%.1f KiB"
37-msgstr "%.lf Kio"
38+msgstr "%.1f Kio"
39
40 #: src/misc/update.c:488
41 #, c-format
42--
432.42.0
44
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
index 92f05544d..12b32879a 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
@@ -23,6 +23,7 @@ SRC_URI = "git://github.com/videolan/vlc.git;protocol=https;branch=3.0.x \
23 file://0004-Use-packageconfig-to-detect-mmal-support.patch \ 23 file://0004-Use-packageconfig-to-detect-mmal-support.patch \
24 file://0005-ioctl-does-not-have-same-signature-between-glibc-and.patch \ 24 file://0005-ioctl-does-not-have-same-signature-between-glibc-and.patch \
25 file://0006-configure-Disable-incompatible-function-pointer-type.patch \ 25 file://0006-configure-Disable-incompatible-function-pointer-type.patch \
26 file://0001-po-Fix-invalid-.oc-translation-format-string.patch \
26" 27"
27SRCREV = "e9eceaed4d838dbd84638bfb2e4bdd08294163b1" 28SRCREV = "e9eceaed4d838dbd84638bfb2e4bdd08294163b1"
28S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"