[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/22: gnu: telepathy-glib: Fix test failure.
From: |
guix-commits |
Subject: |
10/22: gnu: telepathy-glib: Fix test failure. |
Date: |
Sat, 15 Feb 2020 16:09:02 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 6457ae1339c8d3dc7ade2baa8511916d55809887
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Feb 15 16:01:01 2020 +0100
gnu: telepathy-glib: Fix test failure.
* gnu/packages/patches/telepathy-glib-channel-memory-leak.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/glib.scm (telepathy-glib)[source](patches): Add it.
---
gnu/local.mk | 1 +
gnu/packages/glib.scm | 1 +
.../patches/telepathy-glib-channel-memory-leak.patch | 19 +++++++++++++++++++
3 files changed, 21 insertions(+)
diff --git a/gnu/local.mk b/gnu/local.mk
index 7b3d314..18e8b21 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1435,6 +1435,7 @@ dist_patch_DATA =
\
%D%/packages/patches/texinfo-5-perl-compat.patch \
%D%/packages/patches/texlive-bin-poppler-0.83.patch \
%D%/packages/patches/telegram-purple-adjust-test.patch \
+ %D%/packages/patches/telepathy-glib-channel-memory-leak.patch \
%D%/packages/patches/texi2html-document-encoding.patch \
%D%/packages/patches/texi2html-i18n.patch \
%D%/packages/patches/thefuck-test-environ.patch \
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index e6f1cf8..d25959b 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -805,6 +805,7 @@ up the Gnome environment, and are used in many unrelated
projects.")
"1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))
(patches
(list
+ (search-patch "telepathy-glib-channel-memory-leak.patch")
;; Don't use the same test name for multiple tests.
;; <https://bugs.freedesktop.org/show_bug.cgi?id=92245>
(origin
diff --git a/gnu/packages/patches/telepathy-glib-channel-memory-leak.patch
b/gnu/packages/patches/telepathy-glib-channel-memory-leak.patch
new file mode 100644
index 0000000..fe07548
--- /dev/null
+++ b/gnu/packages/patches/telepathy-glib-channel-memory-leak.patch
@@ -0,0 +1,19 @@
+Prevent a memory leak in call-channel, which otherwise would cause a
+test failure in file-transfer-channel.c.
+
+Taken from upstream:
+https://gitlab.freedesktop.org/telepathy/telepathy-glib/commit/2e8b2cc0db09b781d99e3755bb6d01548037fe7b
+
+diff --git a/telepathy-glib/call-channel.c b/telepathy-glib/call-channel.c
+index
8ed76323be32f83c5f4d6045a50bc1698d8093fd..2a1fa203d4be9f0c8b99344225f4ba9900666ffc
100644
+--- a/telepathy-glib/call-channel.c
++++ b/telepathy-glib/call-channel.c
+@@ -525,6 +525,8 @@ update_call_members (TpCallChannel *self,
+
+ _tp_channel_contacts_queue_prepare_async ((TpChannel *) self,
+ contacts, update_call_members_prepared_cb, data);
++
++ g_ptr_array_unref (contacts);
+ }
+
+ static void
- 06/22: gnu: binutils: Update to 2.34., (continued)
- 06/22: gnu: binutils: Update to 2.34., guix-commits, 2020/02/15
- 09/22: gnu: libfaketime: Fix build with glibc 2.31., guix-commits, 2020/02/15
- 11/22: gnu: isl: Move the static library to a separate output., guix-commits, 2020/02/15
- 12/22: gnu: python2-more-itertools: Do not depend on 'python2-minimal'., guix-commits, 2020/02/15
- 13/22: gnu: OpenBLAS: Update to 0.3.8., guix-commits, 2020/02/15
- 08/22: gnu: glibc: Update to 2.31., guix-commits, 2020/02/15
- 15/22: gnu: mit-krb5: Update to 1.18., guix-commits, 2020/02/15
- 16/22: gnu: bison: Update to 3.5.2., guix-commits, 2020/02/15
- 17/22: gnu: ncurses: Update to 6.2., guix-commits, 2020/02/15
- 07/22: gnu: ath9k-htc-firmware: Build with binutils@2.33.1., guix-commits, 2020/02/15
- 10/22: gnu: telepathy-glib: Fix test failure.,
guix-commits <=
- 14/22: gnu: libgpg-error: Update to 1.37., guix-commits, 2020/02/15
- 20/22: gnu: CMake: Update to 3.16.4., guix-commits, 2020/02/15
- 18/22: gnu: CMake: Do not use source files from system libarchive., guix-commits, 2020/02/15
- 21/22: gnu: readline: Update to 8.0.4., guix-commits, 2020/02/15
- 22/22: gnu: bash: Update to 5.0.16., guix-commits, 2020/02/15
- 19/22: gnu: libarchive: Update to 3.4.2., guix-commits, 2020/02/15