summaryrefslogtreecommitdiff
path: root/net/gq/files/patch-src__state.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/gq/files/patch-src__state.c')
-rw-r--r--net/gq/files/patch-src__state.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/gq/files/patch-src__state.c b/net/gq/files/patch-src__state.c
new file mode 100644
index 000000000000..edc09cdb8360
--- /dev/null
+++ b/net/gq/files/patch-src__state.c
@@ -0,0 +1,20 @@
+--- src/state.c.orig 2008-01-09 16:35:12.000000000 +0000
++++ src/state.c 2013-03-06 13:32:20.000000000 +0000
+@@ -36,7 +36,7 @@
+ #include <errno.h>
+
+ #include <glib/gi18n.h>
+-#include <glib/gmessages.h>
++#include <glib.h>
+ #include <gtk/gtk.h>
+
+ #include "configfile.h"
+@@ -806,7 +806,7 @@
+ }
+ }
+
+- if (n != NULL && v->type != 0) {
++ if (n != NULL && v!=NULL && v->type != 0) {
+ char *ep;
+
+ g_assert(v);