summaryrefslogtreecommitdiffstats
path: root/x11/gnometerminal
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-03-16 04:17:13 +0000
committermarcus <marcus@FreeBSD.org>2005-03-16 04:17:13 +0000
commitf847948cc93e5d55e5770077cf160ee21f0b1fff (patch)
tree0fdf28663bd65a3ef16eee29d09c01373ac1b559 /x11/gnometerminal
parent7dc73192912814cecab5fbb9132a9e0ad67c23bb (diff)
downloadFreeBSD-ports-f847948cc93e5d55e5770077cf160ee21f0b1fff.zip
FreeBSD-ports-f847948cc93e5d55e5770077cf160ee21f0b1fff.tar.gz
Fix URL highlighting, lost in the 2.10 upgrade.
PR: 78903 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'x11/gnometerminal')
-rw-r--r--x11/gnometerminal/Makefile1
-rw-r--r--x11/gnometerminal/files/patch-src::terminal-screen.c27
2 files changed, 28 insertions, 0 deletions
diff --git a/x11/gnometerminal/Makefile b/x11/gnometerminal/Makefile
index 61b4256..6a58361 100644
--- a/x11/gnometerminal/Makefile
+++ b/x11/gnometerminal/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnometerminal
PORTVERSION= 2.10.0
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-terminal/2.10
diff --git a/x11/gnometerminal/files/patch-src::terminal-screen.c b/x11/gnometerminal/files/patch-src::terminal-screen.c
new file mode 100644
index 0000000..c7cf1b8
--- /dev/null
+++ b/x11/gnometerminal/files/patch-src::terminal-screen.c
@@ -0,0 +1,27 @@
+--- src/terminal-screen.c.orig Thu Mar 3 15:13:08 2005
++++ src/terminal-screen.c Wed Mar 16 03:11:08 2005
+@@ -246,18 +246,18 @@
+ #define USER "[" USERCHARS "]+(:["PASSCHARS "]+)?"
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<(" SCHEME "://(" USER "@)?)[" HOSTCHARS ".]+(:[0-9]+)?"
+- "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?\\>", FLAVOR_AS_IS);
++ "[[:<:]](" SCHEME "://(" USER "@)?)[" HOSTCHARS ".]+(:[0-9]+)?"
++ "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?[[:>:]]", FLAVOR_AS_IS);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<(www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+(:[0-9]+)?"
+- "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?\\>", FLAVOR_DEFAULT_TO_HTTP);
++ "[[:<:]](www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+(:[0-9]+)?"
++ "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?[[:>:]]", 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-]*)+\\>", FLAVOR_MAILTO);
++ "[[:<:]](mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9][a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+[[:>:]]", FLAVOR_MAILTO);
+
+ 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);
OpenPOWER on IntegriCloud