Fix a couple of implicit declarations.
This commit is contained in:
parent
6b8299e8a2
commit
8dd7406c94
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.92 2015/04/04 09:21:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.93 2015/05/02 14:24:12 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= remote desktop viewer for GNOME
|
||||
|
||||
GNOME_PROJECT= vinagre
|
||||
GNOME_VERSION= 3.16.0
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
@ -38,4 +38,7 @@ LIB_DEPENDS= devel/vte3 \
|
||||
MODGNOME_TOOLS= desktop-file-utils gtk-update-icon-cache \
|
||||
shared-mime-info yelp
|
||||
|
||||
CONFIGURE_STYLE= autoconf
|
||||
AUTOCONF_VERSION= 2.69
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
15
x11/gnome/vinagre/patches/patch-configure_ac
Normal file
15
x11/gnome/vinagre/patches/patch-configure_ac
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-configure_ac,v 1.1 2015/05/02 14:24:12 ajacoutot Exp $
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=748799
|
||||
|
||||
--- configure.ac.orig Sat May 2 16:13:07 2015
|
||||
+++ configure.ac Sat May 2 16:13:25 2015
|
||||
@@ -102,7 +102,7 @@ AS_IF([test "x$have_spice" = "xyes"],
|
||||
AM_CONDITIONAL([VINAGRE_ENABLE_SPICE], [test "x$have_spice" = "xyes"])
|
||||
|
||||
# Checks for header files. See vinagre/pyt_open.c for usage.
|
||||
-AC_CHECK_HEADERS([ifaddrs.h sys/un.h stropts.h termios.h utmp.h])
|
||||
+AC_CHECK_HEADERS([ifaddrs.h sys/un.h stropts.h termios.h util.h utmp.h])
|
||||
|
||||
# Internationalization.
|
||||
AC_SUBST([GETTEXT_PACKAGE], [$PACKAGE_TARNAME])
|
14
x11/gnome/vinagre/patches/patch-vinagre_pty_open_c
Normal file
14
x11/gnome/vinagre/patches/patch-vinagre_pty_open_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-vinagre_pty_open_c,v 1.1 2015/05/02 14:24:12 ajacoutot Exp $
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=748799
|
||||
|
||||
--- vinagre/pty_open.c.orig Sat May 2 16:12:06 2015
|
||||
+++ vinagre/pty_open.c Sat May 2 16:12:16 2015
|
||||
@@ -43,6 +43,7 @@
|
||||
|
||||
#define _XOPEN_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
+#define _BSD_SOURCE
|
||||
|
||||
#include "config.h"
|
||||
#include <sys/types.h>
|
Loading…
Reference in New Issue
Block a user