summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte/files
diff options
context:
space:
mode:
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.in13
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c40
-rw-r--r--x11-toolkits/vte/files/patch-python_Makefile.in36
-rw-r--r--x11-toolkits/vte/files/patch-src_vteseq.c10
6 files changed, 122 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..553422500
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
@@ -0,0 +1,13 @@
+--- 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
+@@ -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_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..adc67eef5
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-python_Makefile.in
@@ -0,0 +1,36 @@
+--- python/Makefile.in.orig 2009-02-24 20:14:03.000000000 +0100
++++ python/Makefile.in 2009-02-24 20:18:03.000000000 +0100
+@@ -56,7 +56,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)
+@@ -291,11 +290,11 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ EXTRA_DIST = vte.defs pyvte.pc.in vte.override cat.py unrealize.py vte-demo.py
+-defsdir = $(datadir)/pygtk/2.0/defs
+-defs_DATA = vte.defs
+-pkgconfigdir = $(prefix)/libdata/pkgconfig
+-pkgconfig_DATA = pyvte.pc
+-PYTHON_MODULES = vtemodule.la
++@BUILD_PYTHON_MODULES_TRUE@defsdir = $(datadir)/pygtk/2.0/defs
++@BUILD_PYTHON_MODULES_TRUE@defs_DATA = vte.defs
++@BUILD_PYTHON_MODULES_TRUE@pkgconfigdir = $(prefix)/libdata/pkgconfig
++@BUILD_PYTHON_MODULES_TRUE@pkgconfig_DATA = pyvte.pc
++@BUILD_PYTHON_MODULES_TRUE@PYTHON_MODULES = vtemodule.la
+ @BUILD_PYTHON_MODULES_TRUE@pythonsiteexecdir = $(pyexecdir)/gtk-2.0
+ @BUILD_PYTHON_MODULES_TRUE@pythonsiteexec_LTLIBRARIES = $(PYTHON_MODULES)
+ @BUILD_PYTHON_MODULES_TRUE@CLEANFILES = vte.c
+@@ -305,7 +304,7 @@
+ @BUILD_PYTHON_MODULES_TRUE@AM_LDFLAGS = $(PYTHON_LDFLAGS)
+ @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_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
+