openbsd-ports/devel/vte/patches/patch-gnome-pty-helper_gnome-pty-helper_c
marcm fd86c53663 Update GNOME support ports to their Gnome 2.4 versions...
ORBit2    2.6.3 -> 2.8.1
gconf2    2.2.1 -> 2.4.0.1
libgtop2  2.0.2 -> 2.0.5
libwnck   2.2.2 -> 2.4.0.1
vte       0.10.29 -> 0.11.10

Also removes devel/linc since it has been rolled into devel/ORBit2.
2003-10-07 05:47:57 +00:00

21 lines
688 B
Plaintext

$OpenBSD: patch-gnome-pty-helper_gnome-pty-helper_c,v 1.1 2003/10/07 05:47:58 marcm Exp $
--- gnome-pty-helper/gnome-pty-helper.c.orig 2003-09-08 15:32:27.000000000 -0700
+++ gnome-pty-helper/gnome-pty-helper.c 2003-09-08 15:32:59.000000000 -0700
@@ -42,6 +42,7 @@ extern char *strdup(const char *);
#include <unistd.h>
#include <string.h>
#include <signal.h>
+#include <sys/param.h>
#include <fcntl.h>
#include <termios.h>
#include <errno.h>
@@ -93,7 +94,7 @@ static pty_info *pty_list;
#endif
#endif /* CMSG_DATA */
-#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (int))
+#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (long))
static struct cmsghdr *cmptr;