summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-08-05 00:37:42 -0700
committerMatt Turner <mattst88@gentoo.org>2021-08-05 00:40:25 -0700
commitedb6cc2444538f6e689a76add962e53240fc8fc3 (patch)
treec9f35ba6375debfa061e95ab2b2b7460099bae13 /dev-libs/totem-pl-parser
parentdev-python/pybind11: Fix DISTUTILS_USE_SETUPTOOLS value (diff)
downloadgentoo-edb6cc2444538f6e689a76add962e53240fc8fc3.tar.gz
gentoo-edb6cc2444538f6e689a76add962e53240fc8fc3.tar.bz2
gentoo-edb6cc2444538f6e689a76add962e53240fc8fc3.zip
dev-libs/totem-pl-parser: Add missing patch
Closes: https://bugs.gentoo.org/806464 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/totem-pl-parser')
-rw-r--r--dev-libs/totem-pl-parser/files/3.26.6-plparser-Fix-uninitialized-variable-error.patch30
1 files changed, 30 insertions, 0 deletions
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
+