summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-08-06 10:25:09 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-08-06 10:25:09 +0800
commit5d2974558c9a17bf573d1bd7e0c31d538d4d1386 (patch)
tree91716ae8cc3293efd834f6789cafe0add27d6db5 /x11-toolkits/vte/files
parent3bb596f14a52325f7342ad867b545dfd7ffb6d90 (diff)
downloadmarcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.tar
marcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.tar.gz
marcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.tar.bz2
marcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.tar.lz
marcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.tar.xz
marcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.tar.zst
marcuscom-ports-5d2974558c9a17bf573d1bd7e0c31d538d4d1386.zip
Update to 0.17.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11237 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/vte/files')
-rw-r--r--x11-toolkits/vte/files/patch-config.h.in12
-rw-r--r--x11-toolkits/vte/files/patch-configure11
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in30
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_configure10
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c26
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c40
-rw-r--r--x11-toolkits/vte/files/patch-python_Makefile.in19
-rw-r--r--x11-toolkits/vte/files/patch-src_keymap.c10
-rw-r--r--x11-toolkits/vte/files/patch-src_pty.c10
-rw-r--r--x11-toolkits/vte/files/patch-src_vteseq.c10
10 files changed, 178 insertions, 0 deletions
diff --git a/x11-toolkits/vte/files/patch-config.h.in b/x11-toolkits/vte/files/patch-config.h.in
new file mode 100644
index 000000000..03db0e1c4
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig Wed May 17 10:45:57 2006
++++ config.h.in Wed May 17 10:46:25 2006
+@@ -106,6 +106,9 @@
+ /* Define to 1 if you have the <GL/glx.h> header file. */
+ #undef HAVE_GL_GLX_H
+
++/* Define to 1 if you have the `posix_openpt' function. */
++#undef HAVE_POSIX_OPENPT
++
+ /* Define to 1 if you have the `grantpt' function. */
+ #undef HAVE_GRANTPT
+
diff --git a/x11-toolkits/vte/files/patch-configure b/x11-toolkits/vte/files/patch-configure
new file mode 100644
index 000000000..e9fe90107
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Feb 13 16:22:38 2007
++++ configure Tue Feb 13 16:23:19 2007
+@@ -24887,7 +24887,7 @@ fi
+
+
+
+-for ac_func in cfmakeraw fork setsid setpgid getpgid getpt grantpt unlockpt ptsname ptsname_r tcgetattr tcsetattr
++for ac_func in cfmakeraw fork setsid setpgid getpgid getpt grantpt posix_openpt unlockpt ptsname ptsname_r tcgetattr tcsetattr
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
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..8f838a9b0
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
@@ -0,0 +1,30 @@
+--- gnome-pty-helper/Makefile.in.orig 2007-07-29 17:20:13.000000000 -0400
++++ gnome-pty-helper/Makefile.in 2007-07-29 17:25:47.000000000 -0400
+@@ -107,6 +107,7 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_P
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
++BSD_PTHREAD_LIBS = @BSD_PTHREAD_LIBS@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
+@@ -271,7 +272,7 @@ clean-libexecPROGRAMS:
+ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ gnome-pty-helper$(EXEEXT): $(gnome_pty_helper_OBJECTS) $(gnome_pty_helper_DEPENDENCIES)
+ @rm -f gnome-pty-helper$(EXEEXT)
+- $(LINK) $(gnome_pty_helper_OBJECTS) $(gnome_pty_helper_LDADD) $(LIBS)
++ $(LINK) $(gnome_pty_helper_OBJECTS) $(gnome_pty_helper_LDADD) $(LIBS) $(BSD_PTHREAD_LIBS)
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+@@ -584,8 +585,8 @@ uninstall-am: uninstall-libexecPROGRAMS
+
+
+ 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_configure b/x11-toolkits/vte/files/patch-gnome-pty-helper_configure
new file mode 100644
index 000000000..89e237692
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_configure
@@ -0,0 +1,10 @@
+--- gnome-pty-helper/configure.orig 2008-08-05 22:13:08.000000000 -0400
++++ gnome-pty-helper/configure 2008-08-05 22:15:42.000000000 -0400
+@@ -696,6 +696,7 @@ AMTAR
+ am__tar
+ am__untar
+ CC
++BSD_PTHREAD_LIBS
+ CFLAGS
+ LDFLAGS
+ CPPFLAGS
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..6be543a31
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c
@@ -0,0 +1,26 @@
+--- gnome-pty-helper/gnome-pty-helper.c.orig Tue Feb 14 03:58:10 2006
++++ gnome-pty-helper/gnome-pty-helper.c Sat Feb 25 16:38:04 2006
+@@ -95,12 +95,12 @@ static pty_info *pty_list;
+ #endif /* CMSG_DATA */
+
+ static struct cmsghdr *cmptr;
+-static int CONTROLLEN;
++static socklen_t CONTROLLEN;
+
+ static int
+ init_msg_pass (void)
+ {
+- CONTROLLEN = (CMSG_DATA (cmptr) - (unsigned char *)cmptr) + sizeof(int);
++ CONTROLLEN = CMSG_SPACE (sizeof (int));
+ cmptr = malloc (CONTROLLEN);
+
+ if (cmptr)
+@@ -128,7 +128,7 @@ pass_fd (int client_fd, int fd)
+
+ cmptr->cmsg_level = SOL_SOCKET;
+ cmptr->cmsg_type = SCM_RIGHTS;
+- cmptr->cmsg_len = CONTROLLEN;
++ cmptr->cmsg_len = CMSG_LEN (sizeof (fd));
+ *(int *)CMSG_DATA (cmptr) = fd;
+
+ if (sendmsg (client_fd, &msg, 0) != 1)
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c
new file mode 100644
index 000000000..bc0877bf5
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c
@@ -0,0 +1,40 @@
+--- gnome-pty-helper/gnome-utmp.c.orig Sat Oct 28 23:15:53 2006
++++ gnome-pty-helper/gnome-utmp.c Sat Oct 28 23:15:40 2006
+@@ -258,10 +258,18 @@ write_logout_record (char *login_name, v
+ #endif
+
+ if (utmp)
++#if defined(__FreeBSD__)
++ logout (put.ut_line);
++#else
+ update_utmp (&put);
++#endif
+
+ if (wtmp)
++#if defined(__FreeBSD__)
++ logwtmp (put.ut_line, "", "");
++#else
+ update_wtmp (WTMP_OUTPUT_FILENAME, &put);
++#endif
+
+ free (ut);
+ }
+@@ -347,10 +355,18 @@ write_login_record (char *login_name, ch
+ # endif
+ #endif
+ if (utmp)
++#if defined(__FreeBSD__)
++ login (ut);
++#else
+ update_utmp (ut);
++#endif
+
+ if (wtmp)
++#if defined(__FreeBSD__)
++ logwtmp (ut->ut_line, ut->ut_name, ut->ut_host);
++#else
+ update_wtmp (WTMP_OUTPUT_FILENAME, ut);
++#endif
+
+ if (lastlog)
+ update_lastlog(login_name, ut);
diff --git a/x11-toolkits/vte/files/patch-python_Makefile.in b/x11-toolkits/vte/files/patch-python_Makefile.in
new file mode 100644
index 000000000..10ee93b13
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-python_Makefile.in
@@ -0,0 +1,19 @@
+--- python/Makefile.in.orig Tue Feb 27 12:46:42 2007
++++ python/Makefile.in Tue Feb 27 12:47:11 2007
+@@ -61,7 +61,6 @@
+ LTLIBRARIES = $(pythonsiteexec_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+ @BUILD_PYTHON_MODULES_TRUE@vtemodule_la_DEPENDENCIES = \
+-@BUILD_PYTHON_MODULES_TRUE@ $(top_builddir)/src/libvte.la \
+ @BUILD_PYTHON_MODULES_TRUE@ $(am__DEPENDENCIES_1) \
+ @BUILD_PYTHON_MODULES_TRUE@ $(am__DEPENDENCIES_1) \
+ @BUILD_PYTHON_MODULES_TRUE@ $(am__DEPENDENCIES_1) \
+@@ -303,7 +302,7 @@
+ @BUILD_PYTHON_MODULES_TRUE@CLEANFILES = vte.c
+ @BUILD_PYTHON_MODULES_TRUE@vtemodule_la_CFLAGS = $(VTE_CFLAGS) $(X_CFLAGS) $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
+ @BUILD_PYTHON_MODULES_TRUE@vtemodule_la_SOURCES = vtemodule.c
+-@BUILD_PYTHON_MODULES_TRUE@vtemodule_la_LIBADD = $(top_builddir)/src/libvte.la $(LIBS) $(PYGTK_LIBS) $(VTE_LIBS) $(X_LIBS)
++@BUILD_PYTHON_MODULES_TRUE@vtemodule_la_LIBADD = -lvte $(LIBS) $(PYGTK_LIBS) $(VTE_LIBS) $(X_LIBS)
+ @BUILD_PYTHON_MODULES_TRUE@vtemodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initvte
+ @BUILD_PYTHON_MODULES_TRUE@nodist_vtemodule_la_SOURCES = vte.c
+ all: all-am
diff --git a/x11-toolkits/vte/files/patch-src_keymap.c b/x11-toolkits/vte/files/patch-src_keymap.c
new file mode 100644
index 000000000..e1fb0d212
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_keymap.c
@@ -0,0 +1,10 @@
+--- src/keymap.c.orig Tue Oct 22 17:42:20 2002
++++ src/keymap.c Tue Oct 22 17:42:33 2002
+@@ -18,6 +18,7 @@
+
+ #ident "$Id: patch-src_keymap.c,v 1.17 2008-08-06 02:25:09 marcus Exp $"
+ #include "../config.h"
++#include <sys/types.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <glib.h>
diff --git a/x11-toolkits/vte/files/patch-src_pty.c b/x11-toolkits/vte/files/patch-src_pty.c
new file mode 100644
index 000000000..da0f42b81
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_pty.c
@@ -0,0 +1,10 @@
+--- src/pty.c.orig Tue Feb 13 16:24:15 2007
++++ src/pty.c Tue Feb 13 16:29:15 2007
+@@ -271,6 +271,7 @@ _vte_pty_run_on_pty (struct vte_pty_chil
+ GPid *pid, GError **error)
+ {
+ gboolean ret = TRUE;
++ extern char **environ;
+ GError *local_error = NULL;
+
+ if (command != NULL) {
diff --git a/x11-toolkits/vte/files/patch-src_vteseq.c b/x11-toolkits/vte/files/patch-src_vteseq.c
new file mode 100644
index 000000000..e5afb288b
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_vteseq.c
@@ -0,0 +1,10 @@
+--- src/vteseq.c.orig Mon Jun 12 20:27:00 2006
++++ src/vteseq.c Mon Jun 12 20:27:19 2006
+@@ -20,6 +20,7 @@
+ #include "../config.h"
+
+ #ifdef HAVE_SYS_SYSLIMITS_H
++#include <sys/cdefs.h>
+ #include <sys/syslimits.h>
+ #endif
+