summaryrefslogtreecommitdiff
path: root/dev-libs/totem-pl-parser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-07 00:16:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-07 00:16:33 +0100
commitd162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch)
tree24cd2cf57f3932a24b96e4a0f6666489447e43ba /dev-libs/totem-pl-parser
parent590b9b7b03bf4651e099949e318755af7cfa81b8 (diff)
gentoo resync : 07.08.2021
Diffstat (limited to 'dev-libs/totem-pl-parser')
-rw-r--r--dev-libs/totem-pl-parser/Manifest3
-rw-r--r--dev-libs/totem-pl-parser/files/3.26.6-plparser-Fix-uninitialized-variable-error.patch30
-rw-r--r--dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild4
3 files changed, 36 insertions, 1 deletions
diff --git a/dev-libs/totem-pl-parser/Manifest b/dev-libs/totem-pl-parser/Manifest
index fd995f4ded79..ea3214e68923 100644
--- a/dev-libs/totem-pl-parser/Manifest
+++ b/dev-libs/totem-pl-parser/Manifest
@@ -1,3 +1,4 @@
+AUX 3.26.6-plparser-Fix-uninitialized-variable-error.patch 1002 BLAKE2B 20af6936f47b2b1932417caec381df50bf503eff6e5235b1edeb4645dfc248358fdfc528016bcebaeb47f14f0cb99bd6a69519ae0a1a6e82b2629316522922e9 SHA512 65d015cb956c5f0b82bb2436309bbc35535d3decf7d8de4730fa3d41abf4378131756d09b536d3a16b9581c7e76fa18e795976753e90e91edea76428281f9386
DIST totem-pl-parser-3.26.6.tar.xz 1503888 BLAKE2B b0768f54c77ff902ad20aeaa9162c616e0cc64ccfc2839d2db2e4c9076f82a611baedf127b0b74f84ec8698a5adc25c43fb9245dcb26a221da7024372a61896b SHA512 1a7aa69e147b55c3c9761328604821a7e40bac4e7b82492e5ce1b2405e3b6d5154e3b06687f2446ec923b34bf6ea96eef179ef8410c005a061d448fc6b3e754e
-EBUILD totem-pl-parser-3.26.6.ebuild 1915 BLAKE2B 2b78c72ecc6b92e19341cebd4711652f011d709eb4eadb0776125e91278cb1987934ae456e1c3e819ac02b5757b298d0de662453882bc71891d892d942c616cf SHA512 fb6a300a858e0706970d0040c582275b9e08dfcee727ddcfb95eeb5c0b15b0893f1334aa3937e91df28d9bd952bb728ae019c16305bd326abfebe0f1d83a467f
+EBUILD totem-pl-parser-3.26.6.ebuild 1997 BLAKE2B c55ac333eb56cc12a944432861d0aef8ec3b7985d42ac58359616407d08566e37208b311d287bd7eb9c3b3a43a94c9262e4c772dcc01f3dcebf34af5e83763ea SHA512 5e3008ba45fe4554dfa647dac2a944a2ed725d3c55ef3adbdc16854368c49c3e8e7800a126bd326b806d47fef84bec04d4f6fceaa737098471d7f73b531c9e39
MISC metadata.xml 526 BLAKE2B 30db37331918665359e8c621d57d4aef8867db09fcbdbdecb67f5a3cb2db6d3044f1c04fb73258b5ac9385ff498f4aaf03fa9084190285306e7a2f05c326be6e SHA512 6d2a0e101a7464cf7089a03bb85d9e38302c55a360a83927ee44865962147197116966db0fa7d19fd169c7a16f852d6bda1fad17efba3541ef0a4c46149254b9
diff --git a/dev-libs/totem-pl-parser/files/3.26.6-plparser-Fix-uninitialized-variable-error.patch b/dev-libs/totem-pl-parser/files/3.26.6-plparser-Fix-uninitialized-variable-error.patch
new file mode 100644
index 000000000000..1666332f3533
--- /dev/null
+++ b/dev-libs/totem-pl-parser/files/3.26.6-plparser-Fix-uninitialized-variable-error.patch
@@ -0,0 +1,30 @@
+From 87fc47f6d992b65d2baaa987bb985bc388457a9b Mon Sep 17 00:00:00 2001
+From: David GUGLIELMI <david.guglielmi@gmail.com>
+Date: Sun, 11 Jul 2021 22:41:42 +0200
+Subject: [PATCH] plparser: Fix uninitialized variable error
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Build failed on systems using -Os cflags with:
+ - totem-pl-parser.c:1776:14: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
+---
+ plparse/totem-pl-parser.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
+index 404deb3..32fd435 100644
+--- a/plparse/totem-pl-parser.c
++++ b/plparse/totem-pl-parser.c
+@@ -1760,7 +1760,7 @@ totem_pl_parser_glob_is_ignored (TotemPlParser *parser,
+ {
+ GHashTableIter iter;
+ gpointer key;
+- int ret;
++ int ret = FNM_NOMATCH;
+
+ g_mutex_lock (&parser->priv->ignore_mutex);
+ g_hash_table_iter_init (&iter, parser->priv->ignore_globs);
+--
+2.31.1
+
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild
index 41eae294ede1..294cf0ed1422 100644
--- a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild
@@ -36,6 +36,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PV}-plparser-Fix-uninitialized-variable-error.patch
+)
+
src_prepare() {
# Disable tests requiring network access, bug #346127
# 3rd test fails on upgrade, not once installed