[arch-commits] Commit in network-manager-applet/trunk (PKGBUILD fix-double-free.diff)
Jan Steffens
heftig at archlinux.org
Tue May 29 20:09:05 UTC 2018
Date: Tuesday, May 29, 2018 @ 20:09:04
Author: heftig
Revision: 325122
1.8.12-2: FS#58767
Added:
network-manager-applet/trunk/fix-double-free.diff
Modified:
network-manager-applet/trunk/PKGBUILD
----------------------+
PKGBUILD | 10 +++++++---
fix-double-free.diff | 12 ++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-29 19:39:27 UTC (rev 325121)
+++ PKGBUILD 2018-05-29 20:09:04 UTC (rev 325122)
@@ -11,7 +11,7 @@
pkgdesc="Applet for managing network connections"
url="https://wiki.gnome.org/Projects/NetworkManager/"
pkgver=1.8.12
-pkgrel=1
+pkgrel=2
arch=(x86_64)
license=(GPL LGPL)
depends=(libnm-glib libgudev gtk3 mobile-broadband-provider-info iso-codes gcr)
@@ -18,8 +18,10 @@
makedepends=(libsecret libnotify libmm-glib intltool gobject-introspection git gtk-doc meson)
options=(!emptydirs)
_commit=19b82d620395ac337b98194946086f99fd2f7351 # tags/1.8.12^0
-source=("git+https://gitlab.gnome.org/GNOME/network-manager-applet.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.gnome.org/GNOME/network-manager-applet.git#commit=$_commit"
+ fix-double-free.diff)
+sha256sums=('SKIP'
+ '1eb70bb68f27ee8451f287e280568d7098a095d3919d86b7959852d0b6e4e838')
pkgver() {
cd $pkgbase
@@ -28,6 +30,8 @@
prepare() {
cd $pkgbase
+ # https://bugs.archlinux.org/task/58767
+ patch -Np1 -i ../fix-double-free.diff
}
build() {
Added: fix-double-free.diff
===================================================================
--- fix-double-free.diff (rev 0)
+++ fix-double-free.diff 2018-05-29 20:09:04 UTC (rev 325122)
@@ -0,0 +1,12 @@
+diff --git i/src/ap-menu-item.c w/src/ap-menu-item.c
+index 92953c04..7d614f45 100644
+--- i/src/ap-menu-item.c
++++ w/src/ap-menu-item.c
+@@ -327,7 +327,6 @@ finalize (GObject *object)
+ g_free (priv->ssid_string);
+
+ g_slist_free_full (priv->dupes, g_free);
+- g_slist_free (priv->dupes);
+
+ G_OBJECT_CLASS (nm_network_menu_item_parent_class)->finalize (object);
+ }
More information about the arch-commits
mailing list