openbsd-ports/databases/gq/patches/patch-src_state_c
jasper 33b462f0c0 - regen WANTLIB
- install .desktop file where it should
- add missing goo and dependency
- get rid of implicit declaration warnings
- add missing rcs id's to several patches

ok mbalmer@ (MAINTAINER), sthen@
2009-01-26 18:17:25 +00:00

13 lines
356 B
Plaintext

$OpenBSD: patch-src_state_c,v 1.3 2009/01/26 18:17:25 jasper Exp $
--- src/state.c.orig Mon Nov 3 22:19:54 2003
+++ src/state.c Sun Oct 12 17:01:58 2008
@@ -754,7 +754,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;
assert(v);