Fix a warning.

This commit is contained in:
ajacoutot 2011-05-05 08:33:30 +00:00
parent 08ffb7b00e
commit 140b9141e0
2 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2011/05/02 14:40:33 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.12 2011/05/05 08:33:30 ajacoutot Exp $
SHARED_ONLY= Yes
@ -11,7 +11,7 @@ GNOME_VERSION= 0.7.3
PKGNAME-main= ${DISTNAME}
PKGNAME-editor= dconf-editor-${GNOME_VERSION}
REVISION-main= 0
REVISION-main= 1
REVISION-editor=0
SHARED_LIBS+= dconf 0.0 # 0.0.0

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-common_dconf-shmdir_c,v 1.3 2011/04/05 18:45:05 ajacoutot Exp $
$OpenBSD: patch-common_dconf-shmdir_c,v 1.4 2011/05/05 08:33:30 ajacoutot Exp $
--- common/dconf-shmdir.c.orig Tue Jan 18 06:48:15 2011
+++ common/dconf-shmdir.c Tue Apr 5 14:42:47 2011
@@ -21,7 +21,7 @@
+++ common/dconf-shmdir.c Thu May 5 10:28:49 2011
@@ -21,11 +21,13 @@
#include "dconf-shmdir.h"
@ -10,7 +10,13 @@ $OpenBSD: patch-common_dconf-shmdir_c,v 1.3 2011/04/05 18:45:05 ajacoutot Exp $
#include <sys/statfs.h>
#include <sys/vfs.h>
#endif
@@ -53,7 +53,11 @@ is_local (const gchar *filename)
+#include <string.h>
+
#include <sys/param.h>
#include <sys/mount.h>
#include <errno.h>
@@ -53,7 +55,11 @@ is_local (const gchar *filename)
while (s < 0 && errno == EINTR);
}