[gnome-build-meta/abderrahim/backports] core/nautilus.bst: backport minor patch to the tarball
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/backports] core/nautilus.bst: backport minor patch to the tarball
- Date: Tue, 11 Dec 2018 10:06:15 +0000 (UTC)
commit 5fc5c75247399b2563b055a1e0ab3fbb8bbcc0d8
Author: Jordan Petridis <jpetridis gnome org>
Date: Tue Dec 11 12:04:04 2018 +0200
core/nautilus.bst: backport minor patch to the tarball
The new compiler flags prevent us from compilling nautilus,
backport the upstream patch so we won't have to track git till
the next release.
elements/core/nautilus.bst | 2 ++
...01-file-Null-initialize-autofree-variable.patch | 25 ++++++++++++++++++++++
2 files changed, 27 insertions(+)
---
diff --git a/elements/core/nautilus.bst b/elements/core/nautilus.bst
index 4224d8d..07fbeda 100644
--- a/elements/core/nautilus.bst
+++ b/elements/core/nautilus.bst
@@ -3,6 +3,8 @@ sources:
- kind: tar
url: https://download.gnome.org/sources/nautilus/3.30/nautilus-3.30.4.tar.xz
ref: 419f7c27f9f445815f865647a44b5aa75f7b34ada5cf3247f9ead682f6de8ab9
+- kind: patch
+ path: files/nautilus/0001-file-Null-initialize-autofree-variable.patch
depends:
- core-deps/gexiv2.bst
- core-deps/gnome-autoar.bst
diff --git a/files/nautilus/0001-file-Null-initialize-autofree-variable.patch
b/files/nautilus/0001-file-Null-initialize-autofree-variable.patch
new file mode 100644
index 0000000..d9c4ca6
--- /dev/null
+++ b/files/nautilus/0001-file-Null-initialize-autofree-variable.patch
@@ -0,0 +1,25 @@
+From 1ef858421972a1355f78c2376b684dd8290e14a8 Mon Sep 17 00:00:00 2001
+From: Ernestas Kulik <ekulik redhat com>
+Date: Tue, 11 Dec 2018 10:52:50 +0100
+Subject: [PATCH] file: Null-initialize autofree variable
+
+---
+ src/nautilus-file.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/nautilus-file.c b/src/nautilus-file.c
+index b39dd1d8e..4a2068948 100644
+--- a/src/nautilus-file.c
++++ b/src/nautilus-file.c
+@@ -2199,7 +2199,7 @@ real_batch_rename (GList *files,
+
+ for (l1 = files, l2 = new_names; l1 != NULL && l2 != NULL; l1 = l1->next, l2 = l2->next)
+ {
+- g_autofree gchar *new_file_name;
++ g_autofree gchar *new_file_name = NULL;
+ file = NAUTILUS_FILE (l1->data);
+ new_name = l2->data;
+
+--
+2.20.0
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]