summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-03 06:45:26 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-03 06:45:26 +0800
commit74cd63fbfe608c487c4514e66b481559db9f7c61 (patch)
treedb93a0b78927ecf7f5e45d3fed15bcf8bdd63caa /x11/gnome-terminal
parentabd27c0d923207f4f2c78ba94138cb765ee6c199 (diff)
downloadmarcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.tar
marcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.tar.gz
marcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.tar.bz2
marcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.tar.lz
marcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.tar.xz
marcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.tar.zst
marcuscom-ports-74cd63fbfe608c487c4514e66b481559db9f7c61.zip
Restore URL pattern matching.
Reported by: Thomas <freebsdlists@bsdunix.ch> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6002 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-terminal')
-rw-r--r--x11/gnome-terminal/Makefile3
-rw-r--r--x11/gnome-terminal/files/patch-src_terminal-screen.c33
2 files changed, 35 insertions, 1 deletions
diff --git a/x11/gnome-terminal/Makefile b/x11/gnome-terminal/Makefile
index 3c01a36ff..de55b5db3 100644
--- a/x11/gnome-terminal/Makefile
+++ b/x11/gnome-terminal/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gnometerminal/Makefile,v 1.65 2006/03/13 07:23:15 mezz Exp $
+# $MCom: ports/x11/gnometerminal/Makefile,v 1.66 2006/03/13 19:31:47 mezz Exp $
#
PORTNAME= gnometerminal
PORTVERSION= 2.14.0
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-terminal/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}
diff --git a/x11/gnome-terminal/files/patch-src_terminal-screen.c b/x11/gnome-terminal/files/patch-src_terminal-screen.c
new file mode 100644
index 000000000..0f5c397cb
--- /dev/null
+++ b/x11/gnome-terminal/files/patch-src_terminal-screen.c
@@ -0,0 +1,33 @@
+--- src/terminal-screen.c.orig Sun Apr 2 18:27:36 2006
++++ src/terminal-screen.c Sun Apr 2 18:42:41 2006
+@@ -278,22 +278,22 @@ terminal_screen_init (TerminalScreen *sc
+ #define URLPATH "/[" PATHCHARS "]*[^]'.}>) \t\r\n,\\\"]"
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<" SCHEME "//(" USER "@)?[" HOSTCHARS ".]+"
+- "(:[0-9]+)?(" URLPATH ")?\\>", FLAVOR_AS_IS);
++ "[[:<:]]" SCHEME "//(" USER "@)?[" HOSTCHARS ".]+"
++ "(:[0-9]+)?(" URLPATH ")?[[:>:]]", FLAVOR_AS_IS);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<(www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+"
+- "(:[0-9]+)?(" URLPATH ")?\\>",
++ "[[:<:]](www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+"
++ "(:[0-9]+)?(" URLPATH ")?[[:>:]]",
+ FLAVOR_DEFAULT_TO_HTTP);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<(mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9]"
+- "[a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+\\>",
++ "[[:<:]](mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9]"
++ "[a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+[[:>:]]",
+ FLAVOR_EMAIL);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<news:[-A-Z\\^_a-z{|}~!\"#$%&'()*+,./0-9;:=?`]+"
+- "@[" HOSTCHARS ".]+(:[0-9]+)?\\>", FLAVOR_AS_IS);
++ "[[:<:]]news:[-A-Z\\^_a-z{|}~!\"#$%&'()*+,./0-9;:=?`]+"
++ "@[" HOSTCHARS ".]+(:[0-9]+)?[[:>:]]", FLAVOR_AS_IS);
+
+ terminal_screen_setup_dnd (screen);
+