summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2012-04-22 06:13:35 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2012-04-22 06:13:35 +0800
commit8e89b479fc3914ec257f54c28e014a5064890c28 (patch)
tree2d1477a48cb78a594d9d673a6870075b4e7c6ad6 /x11-toolkits
parent7d6a6f6bc3383795566164ff7d7c3cebdd761ed6 (diff)
downloadmarcuscom-ports-8e89b479fc3914ec257f54c28e014a5064890c28.tar.gz
marcuscom-ports-8e89b479fc3914ec257f54c28e014a5064890c28.tar.zst
marcuscom-ports-8e89b479fc3914ec257f54c28e014a5064890c28.zip
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16715 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/vte/Makefile9
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_config.h.in12
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_configure11
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c11
4 files changed, 38 insertions, 5 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
index 7836309c1..72be9fc41 100644
--- a/x11-toolkits/vte/Makefile
+++ b/x11-toolkits/vte/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11-toolkits/vte/Makefile,v 1.121 2011/04/15 14:34:32 kwm Exp $
+# $MCom: ports/x11-toolkits/vte/Makefile,v 1.122 2011/04/30 20:43:33 mezz Exp $
#
PORTNAME= vte
PORTVERSION= 0.26.2
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= x11-toolkits gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -28,9 +28,8 @@ USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
USE_GETTEXT= yes
USE_GNOME?= gnomeprefix gnomehack gtk20 ltverhack referencehack
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-# BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS?=--disable-python \
--disable-Bsymbolic \
--disable-freetypetest \
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_config.h.in b/x11-toolkits/vte/files/patch-gnome-pty-helper_config.h.in
new file mode 100644
index 000000000..d07c7bce3
--- /dev/null
+++ b/x11-toolkits/vte/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/vte/files/patch-gnome-pty-helper_configure b/x11-toolkits/vte/files/patch-gnome-pty-helper_configure
new file mode 100644
index 000000000..737b74e59
--- /dev/null
+++ b/x11-toolkits/vte/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/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..fa2750ccd
--- /dev/null
+++ b/x11-toolkits/vte/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)
+ {