Skip to content

Commit

Permalink
rpidistro-vlc: add new patch po-Fix-typos-in-oc
Browse files Browse the repository at this point in the history
Fixes compilation issue that occur with
the latest in OE-core.

Signed-off-by: Vincent Davis Jr <[email protected]>
  • Loading branch information
EasyIP2023 authored and agherzan committed Nov 24, 2023
1 parent 6008249 commit 0f6c5ea
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
From 4caba7560aec54f6d944accd1a8d216e8d9b1d92 Mon Sep 17 00:00:00 2001
From: Vincent Davis Jr <[email protected]>
Date: Tue, 14 Nov 2023 20:17:11 -0500
Subject: [PATCH] po: Fix typos in oc.po for gettext compatibility

Upstream-Status: Inappropriate

Ws moved upstream, but upstream patch couldn't be applied.

https://code.videolan.org/videolan/vlc/-/commit/9d67e20c2edd25251b46d1780a7973b44ac5e5ba

gettext-0.22 became stricter and started to validate format strings. Fix
the typos.

Bug: https://bugs.gentoo.org/909015

Signed-off-by: Vincent Davis Jr <[email protected]>
---
po/oc.po | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/po/oc.po b/po/oc.po
index 86f2ed8a1..ce68c581f 100644
--- a/po/oc.po
+++ b/po/oc.po
@@ -5298,18 +5298,18 @@ msgstr "Comanda+"
#: src/misc/update.c:482
#, c-format
msgid "%.1f GiB"
-msgstr "%.lf Gio"
+msgstr "%.1f Gio"

#: src/misc/update.c:484
#, c-format
msgid "%.1f MiB"
-msgstr "%.lf Mio"
+msgstr "%.1f Mio"

#: src/misc/update.c:486 modules/gui/macosx/VLCPlaylistInfo.m:138
#: modules/gui/macosx/VLCPlaylistInfo.m:140
#, c-format
msgid "%.1f KiB"
-msgstr "%.lf Kio"
+msgstr "%.1f Kio"

#: src/misc/update.c:488
#, c-format
@@ -33071,7 +33071,7 @@ msgstr "Lista del gestionari de mèdias"

#, fuzzy
#~ msgid "%.1f kB"
-#~ msgstr "%.lf Gio"
+#~ msgstr "%.1f Gio"

#, fuzzy
#~ msgid "Speed"
--
2.34.1

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SRC_URI = "\
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://3007-remove-xorg-related-link-libs.patch', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '', 'file://3008-vo-Makefile.am-exclude-libgl_plugin.patch', d)} \
file://3009-vo-converter_vaapi-Fix-EGL-macro-undeclared.patch \
file://3010-po-Fix-typos-in-oc.po-for-gettext-compatibility.patch \
"

SRCREV = "b276eb0d7bc3213363e97dbb681ef7c927be6c73"
Expand Down

0 comments on commit 0f6c5ea

Please sign in to comment.