diff options
-rw-r--r-- | x11-toolkits/vte3/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in | 12 | ||||
-rw-r--r-- | x11-toolkits/vte3/files/patch-gnome-pty-helper_configure | 11 | ||||
-rw-r--r-- | x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c | 11 |
4 files changed, 38 insertions, 4 deletions
diff --git a/x11-toolkits/vte3/Makefile b/x11-toolkits/vte3/Makefile index 23b892e64..168b675dc 100644 --- a/x11-toolkits/vte3/Makefile +++ b/x11-toolkits/vte3/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/vte3/Makefile,v 1.15 2011/10/04 17:58:11 kwm Exp $ +# $MCom: ports/x11-toolkits/vte3/Makefile,v 1.16 2011/10/17 13:12:31 kwm Exp $ # PORTNAME?= vte PORTVERSION= 0.30.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/${PORTNAME:S/gnome-pty-helper/vte/}/${PORTVERSION:R} @@ -34,8 +34,8 @@ USE_LDCONFIG= yes USE_AUTOTOOLS= libtool USE_GETTEXT= yes USE_GNOME?= gnomeprefix gnomehack gtk30 ltverhack referencehack -CPPFLAGS= -I${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS?=--disable-python \ --with-gtk=3.0 \ --enable-introspection \ diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in b/x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in new file mode 100644 index 000000000..d07c7bce3 --- /dev/null +++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in @@ -0,0 +1,12 @@ +--- gnome-pty-helper/config.h.in.orig 2012-03-24 17:31:26.000000000 -0400 ++++ gnome-pty-helper/config.h.in 2012-03-24 17:31:43.000000000 -0400 +@@ -24,6 +24,9 @@ + /* Define to 1 if you have the `getutmpx' function. */ + #undef HAVE_GETUTMPX + ++/* Define to 1 if you have the `getutxid' function. */ ++#undef HAVE_GETUTXID ++ + /* Define to 1 if you have the `grantpt' function. */ + #undef HAVE_GRANTPT + diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_configure b/x11-toolkits/vte3/files/patch-gnome-pty-helper_configure new file mode 100644 index 000000000..737b74e59 --- /dev/null +++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_configure @@ -0,0 +1,11 @@ +--- gnome-pty-helper/configure.orig 2012-03-24 17:31:04.000000000 -0400 ++++ gnome-pty-helper/configure 2012-03-24 17:31:21.000000000 -0400 +@@ -5699,7 +5699,7 @@ fi + + fi + +-for ac_func in endutent fcntl forkpty getttyent getutent getutmpx grantpt flock login_tty openpty revoke sendmsg seteuid setreuid setutent strrchr updwtmp updwtmpx utmpname utmpxname ++for ac_func in endutent fcntl forkpty getttyent getutent getutmpx grantpt flock login_tty openpty revoke sendmsg seteuid setreuid setutent strrchr updwtmp updwtmpx utmpname utmpxname getutxid + do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c new file mode 100644 index 000000000..fa2750ccd --- /dev/null +++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c @@ -0,0 +1,11 @@ +--- gnome-pty-helper/gnome-utmp.c.orig 2012-03-24 17:30:46.000000000 -0400 ++++ gnome-pty-helper/gnome-utmp.c 2012-03-24 17:30:25.000000000 -0400 +@@ -152,7 +152,7 @@ update_wtmp (char *file, UTMP *putmp) + #endif /* !HAVE_GETUTMPX */ + + +-#if defined(HAVE_GETUTMPX) ++#if defined(HAVE_GETUTMPX) || defined(HAVE_GETUTXID) + static void + update_utmp (UTMP *ut) + { |