- fix implicit declaration of strchr().

This commit is contained in:
jasper 2010-11-25 08:13:19 +00:00
parent 1ed842bd28
commit 17d537dced
2 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.52 2010/11/22 08:36:57 espie Exp $
# $OpenBSD: Makefile,v 1.53 2010/11/25 08:13:19 jasper Exp $
COMMENT= password agent for the GNOME project
@ -8,7 +8,7 @@ GNOME_VERSION= 2.32.1
SHARED_LIBS += gp11 1.0 # .0.0
SHARED_LIBS += gcr 1.0 # .0.0
REVISION= 0
REVISION= 1
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-daemon_control_gkd-control-server_c,v 1.1 2010/11/25 08:13:19 jasper Exp $
Fix implicit declaration of strchr.
--- daemon/control/gkd-control-server.c.orig Thu Nov 25 00:18:38 2010
+++ daemon/control/gkd-control-server.c Thu Nov 25 00:18:57 2010
@@ -36,6 +36,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>