summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-08-15 09:12:23 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-08-15 09:12:23 +0300
commitfd3c09be674aeae592bea312b004c5e689c44173 (patch)
tree25e895f0da64d88ebdbe070f32af9632ec7e38b6 /dev-libs/efl
parentmedia-radio/qsstv: Add missing USE dep (diff)
downloadgentoo-fd3c09be674aeae592bea312b004c5e689c44173.tar.gz
gentoo-fd3c09be674aeae592bea312b004c5e689c44173.tar.bz2
gentoo-fd3c09be674aeae592bea312b004c5e689c44173.zip
dev-libs/efl: add upstream compatibility with gettext-0.22 patch
Closes: https://bugs.gentoo.org/909530 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/efl')
-rw-r--r--dev-libs/efl/efl-1.26.3-r2.ebuild3
-rw-r--r--dev-libs/efl/files/efl-1.26.3-gettext-0.22-fix.patch38
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-libs/efl/efl-1.26.3-r2.ebuild b/dev-libs/efl/efl-1.26.3-r2.ebuild
index 3926f8a65117..ca9fd1880009 100644
--- a/dev-libs/efl/efl-1.26.3-r2.ebuild
+++ b/dev-libs/efl/efl-1.26.3-r2.ebuild
@@ -128,12 +128,13 @@ DEPEND="${RDEPEND}
wayland? ( dev-libs/wayland-protocols )"
BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig
- examples? ( <sys-devel/gettext-0.22 )
+ examples? ( sys-devel/gettext )
nls? ( sys-devel/gettext )
wayland? ( dev-util/wayland-scanner )"
PATCHES=(
"${FILESDIR}"/${PN}-1.26.3-libressl.patch #903001
+ "${FILESDIR}"/efl-1.26.3-gettext-0.22-fix.patch
)
pkg_setup() {
diff --git a/dev-libs/efl/files/efl-1.26.3-gettext-0.22-fix.patch b/dev-libs/efl/files/efl-1.26.3-gettext-0.22-fix.patch
new file mode 100644
index 000000000000..1bce74f76fec
--- /dev/null
+++ b/dev-libs/efl/files/efl-1.26.3-gettext-0.22-fix.patch
@@ -0,0 +1,38 @@
+From 155842cf9e726009e9eb4ec04d8a176cd990fdcb Mon Sep 17 00:00:00 2001
+From: dimmus <dmitri.chudinov@gmail.com>
+Date: Mon, 14 Aug 2023 21:39:05 +0500
+Subject: [PATCH] examples: edje - add charset header to po files.
+
+Solved compilation error with novel gettext-0.22.
+@fix
+---
+ src/examples/edje/en_IN/domain_name.po | 5 +++++
+ src/examples/edje/hi_IN/domain_name.po | 5 +++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/src/examples/edje/en_IN/domain_name.po b/src/examples/edje/en_IN/domain_name.po
+index f461123404..131579ee36 100644
+--- a/src/examples/edje/en_IN/domain_name.po
++++ b/src/examples/edje/en_IN/domain_name.po
+@@ -1,3 +1,8 @@
++msgid ""
++msgstr ""
++"Content-Type: text/plain; charset=UTF-8\n"
++"Content-Transfer-Encoding: UTF-8\n"
++
+ msgid "LOADING"
+ msgstr "Loading..."
+
+diff --git a/src/examples/edje/hi_IN/domain_name.po b/src/examples/edje/hi_IN/domain_name.po
+index 809cf6f399..fcb0e85d00 100644
+--- a/src/examples/edje/hi_IN/domain_name.po
++++ b/src/examples/edje/hi_IN/domain_name.po
+@@ -1,3 +1,8 @@
++msgid ""
++msgstr ""
++"Content-Type: text/plain; charset=UTF-8\n"
++"Content-Transfer-Encoding: UTF-8\n"
++
+ msgid "LOADING"
+ msgstr "लोड हो रहा है..."
+