summaryrefslogtreecommitdiff
path: root/x11/vte
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2013-12-16 19:51:14 +0000
committerasau <asau@pkgsrc.org>2013-12-16 19:51:14 +0000
commit1ac55e1a5338a8636a4bfdc1be6efc30e85dfa23 (patch)
tree6d11d1e00cc7b276694c432a26e8bbede1ac0c7f /x11/vte
parentd8330c98aeb1cef2db8bc52a789b9df640534435 (diff)
downloadpkgsrc-1ac55e1a5338a8636a4bfdc1be6efc30e85dfa23.tar.gz
No utmp.h on modern FreeBSD, use utmpx.h instead.
Diffstat (limited to 'x11/vte')
-rw-r--r--x11/vte/distinfo4
-rw-r--r--x11/vte/patches/patch-ai20
2 files changed, 18 insertions, 6 deletions
diff --git a/x11/vte/distinfo b/x11/vte/distinfo
index 3575959dfd9..138096a0e0f 100644
--- a/x11/vte/distinfo
+++ b/x11/vte/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.50 2011/07/08 17:23:05 drochner Exp $
+$NetBSD: distinfo,v 1.51 2013/12/16 19:51:14 asau Exp $
SHA1 (vte-0.28.1.tar.bz2) = 9867f84c6be65ff485d8a1a3c41a359709b6f84c
RMD160 (vte-0.28.1.tar.bz2) = e0748777f5a57266762b3dd88f7a10b143e412d9
@@ -8,4 +8,4 @@ SHA1 (patch-ab) = 217a8722d09b1854e869c49af69731ffed92f61c
SHA1 (patch-ac) = 3b357bf9d1bca93c24f5b09dae1adec82323be0d
SHA1 (patch-af) = 69ea7e022f6c495c3c9af681d05644b9d70e7bdc
SHA1 (patch-ah) = 28cee2661439d7d6f1959ebf3c7d1b7b3fe0a764
-SHA1 (patch-ai) = 986dd7c2a5778c9c35100901cfaa25acd0cbdc32
+SHA1 (patch-ai) = 4c365d1d05faa2d9bd0f8f21d500a72605f092d9
diff --git a/x11/vte/patches/patch-ai b/x11/vte/patches/patch-ai
index bff89c04e62..30eafd0ff26 100644
--- a/x11/vte/patches/patch-ai
+++ b/x11/vte/patches/patch-ai
@@ -1,8 +1,20 @@
-$NetBSD: patch-ai,v 1.3 2010/11/16 13:53:06 drochner Exp $
+$NetBSD: patch-ai,v 1.4 2013/12/16 19:51:14 asau Exp $
--- gnome-pty-helper/gnome-pty-helper.c.orig 2010-07-15 17:08:44.000000000 +0000
-+++ gnome-pty-helper/gnome-pty-helper.c
-@@ -122,6 +122,7 @@ pass_fd (int client_fd, int fd)
++++ gnome-pty-helper/gnome-pty-helper.c 2013-12-16 19:42:58.699504493 +0000
+@@ -51,7 +51,11 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
++#if defined(__FreeBSD__)
++#include <utmpx.h>
++#else
+ #include <utmp.h>
++#endif
+ #include <grp.h>
+ #include "gnome-pty.h"
+ #include "gnome-login-support.h"
+@@ -122,6 +126,7 @@
msg.msg_iovlen = 1;
msg.msg_name = NULL;
msg.msg_namelen = 0;
@@ -10,7 +22,7 @@ $NetBSD: patch-ai,v 1.3 2010/11/16 13:53:06 drochner Exp $
msg.msg_control = (caddr_t) cmsgbuf;
msg.msg_controllen = sizeof(cmsgbuf);
-@@ -131,6 +132,7 @@ pass_fd (int client_fd, int fd)
+@@ -131,6 +136,7 @@
cmptr->cmsg_len = CMSG_LEN(sizeof(int));
fdptr = (int *) CMSG_DATA(cmptr);
memcpy (fdptr, &fd, sizeof(int));