diff -p -N -U 4 -r xchat2-orig/Portfile xchat2/Portfile
old
|
new
|
maintainers mij@opendarwin.org |
8 | 8 | description GTK+2 IRC client |
9 | 9 | homepage http://www.xchat.org/ |
10 | 10 | platforms darwin |
11 | 11 | |
12 | | long_description XChat2 is a graphical IRC client based on GTK2 that has \ |
13 | | many features and can be scripted with Perl and/or Python. |
| 12 | long_description \ |
| 13 | XChat2 is a graphical IRC client based on GTK2 that has \ |
| 14 | many features and can be scripted with Perl and/or Python. |
14 | 15 | |
15 | 16 | master_sites http://xchat.org/files/source/2.6/ |
16 | 17 | |
17 | 18 | distname xchat-${portversion} |
… |
… |
checksums md5 358f6cec635eab49fca99d324f |
20 | 21 | rmd160 998069aa49e7b26dd98d53173e9dc67f947f95a2 |
21 | 22 | |
22 | 23 | use_bzip2 yes |
23 | 24 | |
| 25 | patchfiles xc264-fix-proxy.diff \ |
| 26 | xc264-fix-cursor.diff |
| 27 | |
24 | 28 | depends_lib lib:libgtk.2:gtk2 |
25 | 29 | |
26 | 30 | configure.env LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib" \ |
27 | 31 | CFLAGS="-I${prefix}/include" CPPFLAGS="-I${prefix}/include \ |
diff -p -N -U 4 -r xchat2-orig/files/xc262-fix-ircurl.diff xchat2/files/xc262-fix-ircurl.diff
old
|
new
|
|
1 | | # |
2 | | # Fixes opening a irc:// URL via "xchat -a --url=abc123" command while |
3 | | # "Skip serverlist on startup" is off. This fix is only relevant when |
4 | | # opening an initial instance of xchat (i.e not via dbus). |
5 | | # |
6 | | --- src/common/xchat.c 2006-01-02 22:38:23.000000000 +1100 |
7 | | +++ src/common/xchat.c 2006-03-27 23:08:18.000000000 +1100 |
8 | | @@ -918,7 +918,8 @@ |
9 | | |
10 | | servlist_init (); /* load server list */ |
11 | | |
12 | | - if (!prefs.slist_skip) |
13 | | + /* if we got a URL, don't open the server list GUI */ |
14 | | + if (!prefs.slist_skip && !arg_url) |
15 | | fe_serverlist_open (NULL); |
16 | | |
17 | | /* turned OFF via -a arg */ |
18 | | @@ -937,7 +938,7 @@ |
19 | | } |
20 | | } else |
21 | | { |
22 | | - if (prefs.slist_skip) |
23 | | + if (prefs.slist_skip || arg_url) |
24 | | new_ircwindow (NULL, NULL, SESS_SERVER, 0); |
25 | | } |
26 | | } |
diff -p -N -U 4 -r xchat2-orig/files/xc264-fix-cursor.diff xchat2/files/xc264-fix-cursor.diff
old
|
new
|
|
| 1 | # |
| 2 | # Fixes the invisible cursor color when using GTKSpell and a black |
| 3 | # input box (when "Use the text box font & colors" is ON). |
| 4 | # |
| 5 | diff -u -r1.66 fe-gtk.c |
| 6 | --- src/fe-gtk/fe-gtk.c 7 Jun 2006 06:16:51 -0000 1.66 |
| 7 | +++ src/fe-gtk/fe-gtk.c 12 Jun 2006 03:13:24 -0000 |
| 8 | @@ -225,7 +225,11 @@ |
| 9 | const char cursor_color_rc[] = |
| 10 | "style \"xc-ib-st\"" |
| 11 | "{" |
| 12 | +#ifdef USE_GTKSPELL |
| 13 | + "GtkTextView::cursor-color=\"#%02x%02x%02x\"" |
| 14 | +#else |
| 15 | "GtkEntry::cursor-color=\"#%02x%02x%02x\"" |
| 16 | +#endif |
| 17 | "}" |
| 18 | "widget \"*.xchat-inputbox\" style : application \"xc-ib-st\""; |
| 19 | |
diff -p -N -U 4 -r xchat2-orig/files/xc264-fix-proxy.diff xchat2/files/xc264-fix-proxy.diff
old
|
new
|
|
| 1 | # |
| 2 | # Fix proxy |
| 3 | # |
| 4 | diff -u -r1.71 server.c |
| 5 | --- src/common/server.c 29 May 2006 06:53:25 -0000 1.71 |
| 6 | +++ src/common/server.c 8 Jun 2006 15:22:07 -0000 |
| 7 | @@ -1534,7 +1534,10 @@ |
| 8 | if (!serv->dont_use_proxy && (prefs.proxy_type == 5)) |
| 9 | error = net_connect (ns_server, serv->proxy_sok4, serv->proxy_sok6, &psok); |
| 10 | else |
| 11 | + { |
| 12 | error = net_connect (ns_server, serv->sok4, serv->sok6, &sok); |
| 13 | + psok = sok; |
| 14 | + } |
| 15 | |
| 16 | if (error != 0) |
| 17 | { |