pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/vte Added a patch needed for Solaris 8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31e58801f918
branches:  trunk
changeset: 516108:31e58801f918
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 14 14:57:12 2006 +0000

description:
Added a patch needed for Solaris 8.

diffstat:

 x11/vte/distinfo         |   3 ++-
 x11/vte/patches/patch-ai |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 228cfd5172c5 -r 31e58801f918 x11/vte/distinfo
--- a/x11/vte/distinfo  Fri Jul 14 14:47:56 2006 +0000
+++ b/x11/vte/distinfo  Fri Jul 14 14:57:12 2006 +0000
@@ -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-af) = 69ea7e022f6c495c3c9af681d05644b9d70e7bdc
 SHA1 (patch-ag) = a87e379e0ddc728bcd2db41856d669644be43bdc
 SHA1 (patch-ah) = 28cee2661439d7d6f1959ebf3c7d1b7b3fe0a764
+SHA1 (patch-ai) = d3edea00d1aa079f6ec9542b1d74ba97f9db4519
diff -r 228cfd5172c5 -r 31e58801f918 x11/vte/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/vte/patches/patch-ai  Fri Jul 14 14:57:12 2006 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index