summaryrefslogtreecommitdiff
path: root/x11/vte
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-14 14:57:12 +0000
committerrillig <rillig@pkgsrc.org>2006-07-14 14:57:12 +0000
commit5f530f945d5f3474e2dad03c45a5c53e1c77a30e (patch)
tree56198b12331d54d48c272a1fddd181dfa30f14cb /x11/vte
parentba122d0969d7036553d39545f01511ffa2447ab0 (diff)
downloadpkgsrc-5f530f945d5f3474e2dad03c45a5c53e1c77a30e.tar.gz
Added a patch needed for Solaris 8.
Diffstat (limited to 'x11/vte')
-rw-r--r--x11/vte/distinfo3
-rw-r--r--x11/vte/patches/patch-ai23
2 files changed, 25 insertions, 1 deletions
diff --git a/x11/vte/distinfo b/x11/vte/distinfo
index c0f647ff8ac..8e00ffeb9ae 100644
--- a/x11/vte/distinfo
+++ b/x11/vte/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2006/07/13 23:36:18 rillig Exp $
+$NetBSD: distinfo,v 1.15 2006/07/14 14:57:12 rillig Exp $
SHA1 (vte-0.12.2.tar.bz2) = cc76a380dfe23cfc8aba606b146015a6954d67ae
RMD160 (vte-0.12.2.tar.bz2) = 5ef474f9d4150df1f87459657a446b0d0fcfb32b
@@ -10,3 +10,4 @@ SHA1 (patch-ae) = 7bc19459ab99bc71f0bc0e9fa36bcde49a512395
SHA1 (patch-af) = 69ea7e022f6c495c3c9af681d05644b9d70e7bdc
SHA1 (patch-ag) = a87e379e0ddc728bcd2db41856d669644be43bdc
SHA1 (patch-ah) = 28cee2661439d7d6f1959ebf3c7d1b7b3fe0a764
+SHA1 (patch-ai) = d3edea00d1aa079f6ec9542b1d74ba97f9db4519
diff --git a/x11/vte/patches/patch-ai b/x11/vte/patches/patch-ai
new file mode 100644
index 00000000000..3459429fe62
--- /dev/null
+++ b/x11/vte/patches/patch-ai
@@ -0,0 +1,23 @@
+$NetBSD: patch-ai,v 1.1 2006/07/14 14:57:13 rillig Exp $
+
+Assume that if CMSG_FIRSTHDR is not defined, struct msghdr.msg_control
+does not exist either. Needed for Solaris 8.
+
+--- gnome-pty-helper/gnome-pty-helper.c.orig 2006-02-14 10:00:32.000000000 +0100
++++ gnome-pty-helper/gnome-pty-helper.c 2006-07-14 01:38:57.548708903 +0200
+@@ -123,6 +123,7 @@ pass_fd (int client_fd, int fd)
+ msg.msg_iovlen = 1;
+ msg.msg_name = NULL;
+ msg.msg_namelen = 0;
++#if defined(CMSG_FIRSTHDR)
+ msg.msg_control = (caddr_t) cmptr;
+ msg.msg_controllen = CONTROLLEN;
+
+@@ -130,6 +131,7 @@ pass_fd (int client_fd, int fd)
+ cmptr->cmsg_type = SCM_RIGHTS;
+ cmptr->cmsg_len = CONTROLLEN;
+ *(int *)CMSG_DATA (cmptr) = fd;
++#endif
+
+ if (sendmsg (client_fd, &msg, 0) != 1)
+ return -1;