Fix implicit declaration.
This commit is contained in:
parent
bae6e6686e
commit
d92c196e73
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.48 2011/06/07 12:53:56 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.49 2011/06/15 07:21:13 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= GNOME virtual file system
|
||||
COMMENT-smb= samba module for GVFS
|
||||
@ -9,7 +9,7 @@ GNOME_VERSION= 1.8.2
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-smb= ${GNOME_PROJECT}-smb-${GNOME_VERSION}
|
||||
|
||||
REVISION-main= 2
|
||||
REVISION-main= 3
|
||||
|
||||
SHARED_LIBS += gvfscommon 3.0 # .0.0
|
||||
SHARED_LIBS += gvfscommon-dnssd 1.0 # .0.0
|
||||
@ -50,6 +50,8 @@ LIB_DEPENDS-smb= ${LIB_DEPENDS} \
|
||||
${BASE_PKGPATH},-main \
|
||||
net/samba
|
||||
|
||||
AUTOCONF_VERSION=2.68
|
||||
CONFIGURE_STYLE=autoconf
|
||||
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--disable-gtk-doc \
|
||||
|
16
x11/gnome/gvfs/patches/patch-config_h_in
Normal file
16
x11/gnome/gvfs/patches/patch-config_h_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-config_h_in,v 1.1 2011/06/15 07:21:13 ajacoutot Exp $
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=652623
|
||||
|
||||
--- config.h.in.orig Wed Jun 15 08:59:13 2011
|
||||
+++ config.h.in Wed Jun 15 08:59:34 2011
|
||||
@@ -192,6 +192,9 @@
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#undef HAVE_TERMIOS_H
|
||||
|
||||
+/* Define to 1 if you have the <util.h> header file. */
|
||||
+#undef HAVE_UTIL_H
|
||||
+
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
15
x11/gnome/gvfs/patches/patch-configure_ac
Normal file
15
x11/gnome/gvfs/patches/patch-configure_ac
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-configure_ac,v 1.1 2011/06/15 07:21:13 ajacoutot Exp $
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=652623
|
||||
|
||||
--- configure.ac.orig Wed Jun 15 08:59:42 2011
|
||||
+++ configure.ac Wed Jun 15 08:59:58 2011
|
||||
@@ -99,7 +99,7 @@ dnl ****************************
|
||||
dnl *** Checks for pty stuff ***
|
||||
dnl ****************************
|
||||
|
||||
-AC_CHECK_HEADERS(sys/un.h stropts.h termios.h utmp.h sys/uio.h sys/param.h)
|
||||
+AC_CHECK_HEADERS(sys/un.h stropts.h termios.h util.h utmp.h sys/uio.h sys/param.h)
|
||||
|
||||
# Check for PTY handling functions.
|
||||
AC_CHECK_FUNCS(getpt posix_openpt grantpt unlockpt ptsname ptsname_r)
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-daemon_pty_open_c,v 1.1 2010/07/13 16:14:28 ajacoutot Exp $
|
||||
--- daemon/pty_open.c.orig Tue Jul 13 17:06:55 2010
|
||||
+++ daemon/pty_open.c Tue Jul 13 17:07:50 2010
|
||||
@@ -66,9 +66,11 @@
|
||||
#ifdef HAVE_UTMP_H
|
||||
#include <utmp.h>
|
||||
#endif
|
||||
+/* XXX HAVE_UTIL_H is not set by configure
|
||||
#ifdef HAVE_UTIL_H
|
||||
+*/
|
||||
#include <util.h>
|
||||
-#endif
|
||||
+// #endif
|
||||
#include <glib.h>
|
||||
#include "pty_open.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user