summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-11-28 03:37:24 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-11-28 03:37:24 +0800
commitb1a933cfe585cfe2c71d7d6b07796fa1ebe8805d (patch)
tree7bf02fa76d03a33c334a1ea7178ae267e5ce168c /x11-toolkits
parent0f8f15c13a2d06d9fa49c9b57b9b9ed83da102a2 (diff)
downloadmarcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.tar
marcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.tar.gz
marcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.tar.bz2
marcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.tar.lz
marcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.tar.xz
marcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.tar.zst
marcuscom-ports-b1a933cfe585cfe2c71d7d6b07796fa1ebe8805d.zip
Fix a problem with gnome-pty-helper permissions. Note, vte still doesn't
work well with tcsh. Bash seems to be fine. I have opened a bug with the vte developers. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@185 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/vte/Makefile2
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in13
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c19
3 files changed, 33 insertions, 1 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
index 5002a40b0..1af86a030 100644
--- a/x11-toolkits/vte/Makefile
+++ b/x11-toolkits/vte/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vte
PORTVERSION= 0.10.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.10
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
new file mode 100644
index 000000000..e609f0e13
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
@@ -0,0 +1,13 @@
+--- gnome-pty-helper/Makefile.in.orig Wed Nov 27 13:30:48 2002
++++ gnome-pty-helper/Makefile.in Wed Nov 27 13:31:05 2002
+@@ -425,8 +425,8 @@
+
+
+ install-exec-hook:
+- chown root.utmp $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+- chmod g+s $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
++ chown root:wheel $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
++ chmod u+s $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c
new file mode 100644
index 000000000..cdadaca6a
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c
@@ -0,0 +1,19 @@
+--- gnome-pty-helper/gnome-pty-helper.c.orig Wed Nov 27 13:40:01 2002
++++ gnome-pty-helper/gnome-pty-helper.c Wed Nov 27 13:40:42 2002
+@@ -42,6 +42,7 @@
+ #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 @@
+ #endif
+ #endif /* CMSG_DATA */
+
+-#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (int))
++#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (long))
+
+ static struct cmsghdr *cmptr;
+