diff options
Diffstat (limited to 'source/xap')
-rw-r--r-- | source/xap/network-manager-applet/fix-double-free.diff | 13 | ||||
-rwxr-xr-x | source/xap/network-manager-applet/network-manager-applet.SlackBuild | 5 |
2 files changed, 17 insertions, 1 deletions
diff --git a/source/xap/network-manager-applet/fix-double-free.diff b/source/xap/network-manager-applet/fix-double-free.diff new file mode 100644 index 00000000..45db62ff --- /dev/null +++ b/source/xap/network-manager-applet/fix-double-free.diff @@ -0,0 +1,13 @@ +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); + } + diff --git a/source/xap/network-manager-applet/network-manager-applet.SlackBuild b/source/xap/network-manager-applet/network-manager-applet.SlackBuild index d987223b..000691c3 100755 --- a/source/xap/network-manager-applet/network-manager-applet.SlackBuild +++ b/source/xap/network-manager-applet/network-manager-applet.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=network-manager-applet VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -76,6 +76,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix crash: +zcat $CWD/fix-double-free.diff.gz | patch -p1 --verbose || exit 1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |