svn commit: r440635 - in head/polish/kadu: . files

Pawel Pekala pawel at FreeBSD.org
Thu May 11 16:59:58 UTC 2017


Author: pawel
Date: Thu May 11 16:59:56 2017
New Revision: 440635
URL: https://svnweb.freebsd.org/changeset/ports/440635

Log:
  Fix segfault on program exit

Added:
  head/polish/kadu/files/patch-kadu-core_gui_actions_action-description.cpp   (contents, props changed)
Modified:
  head/polish/kadu/Makefile

Modified: head/polish/kadu/Makefile
==============================================================================
--- head/polish/kadu/Makefile	Thu May 11 16:41:53 2017	(r440634)
+++ head/polish/kadu/Makefile	Thu May 11 16:59:56 2017	(r440635)
@@ -3,7 +3,7 @@
 
 PORTNAME=	kadu
 PORTVERSION=	4.3
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	polish net-im
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \

Added: head/polish/kadu/files/patch-kadu-core_gui_actions_action-description.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/polish/kadu/files/patch-kadu-core_gui_actions_action-description.cpp	Thu May 11 16:59:56 2017	(r440635)
@@ -0,0 +1,12 @@
+--- kadu-core/gui/actions/action-description.cpp.orig	2017-01-24 21:36:21 UTC
++++ kadu-core/gui/actions/action-description.cpp
+@@ -103,7 +103,8 @@ void ActionDescription::registerAction(Actions *action
+ 
+ void ActionDescription::unregisterAction(Actions *actions)
+ {
+-	actions->remove(this);
++	if (actions)
++		actions->remove(this);
+ }
+ 
+ void ActionDescription::actionAboutToBeDestroyed(Action *action)


More information about the svn-ports-all mailing list