Files
ports/net/gq/files/patch-src__state.c
T
Rene Ladan b0eec09651 Remove textproc/gnome-doc-utils.
It is abandonded upstream for years and is Python-2.7-only.

Adjust consumers, some only need a rebuild, others have their
documentation formerly created by gnome-doc-utils / xml2po removed.

Remove gnomedocutils from USE_GNOME

Submitted by:	rene
Approved by:	portmgr (mat), gnome (kwm)
Differential Revision:	https://reviews.freebsd.org/D23381
2020-01-27 19:40:17 +00:00

21 lines
425 B
C

--- src/state.c.orig 2008-01-09 16:35:12 UTC
+++ src/state.c
@@ -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 @@ static void state_valueE(struct parser_context *ctx,
}
}
- if (n != NULL && v->type != 0) {
+ if (n != NULL && v!=NULL && v->type != 0) {
char *ep;
g_assert(v);