Skip to content
Permalink
Browse files

Add 2 vendor patches for 2.6.4.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@18625 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jim Mock
Jim Mock committed Jul 16, 2006
1 parent 9b334b9 commit c096f36f8ea0de94e1467396ee717cb26ebcbb0a
Showing with 40 additions and 1 deletion.
  1. +4 −1 irc/xchat2/Portfile
  2. +19 −0 irc/xchat2/files/xc264-fix-cursor.diff
  3. +17 −0 irc/xchat2/files/xc264-fix-proxy.diff
@@ -1,8 +1,9 @@
# $Id: Portfile,v 1.38 2006/06/09 01:44:18 mij Exp $
# $Id: Portfile,v 1.39 2006/07/16 06:55:39 mij Exp $

PortSystem 1.0
name xchat2
version 2.6.4
revision 1
categories irc
maintainers mij@opendarwin.org
description GTK+2 IRC client
@@ -19,6 +20,8 @@ checksums md5 358f6cec635eab49fca99d324f76e065 \
sha1 84bb9e2b3f8eef03c199208c81520c20a172e825 \
rmd160 998069aa49e7b26dd98d53173e9dc67f947f95a2

patchfiles xc264-fix-cursor.diff xc264-fix-proxy.diff

use_bzip2 yes

depends_lib lib:libgtk.2:gtk2
@@ -0,0 +1,19 @@
#
# Fixes the invisible cursor color when using GTKSpell and a black
# input box (when "Use the text box font & colors" is ON).
#
diff -u -r1.66 fe-gtk.c
--- src/fe-gtk/fe-gtk.c 7 Jun 2006 06:16:51 -0000 1.66
+++ src/fe-gtk/fe-gtk.c 12 Jun 2006 03:13:24 -0000
@@ -225,7 +225,11 @@
const char cursor_color_rc[] =
"style \"xc-ib-st\""
"{"
+#ifdef USE_GTKSPELL
+ "GtkTextView::cursor-color=\"#%02x%02x%02x\""
+#else
"GtkEntry::cursor-color=\"#%02x%02x%02x\""
+#endif
"}"
"widget \"*.xchat-inputbox\" style : application \"xc-ib-st\"";

@@ -0,0 +1,17 @@
#
# Fix proxy
#
diff -u -r1.71 server.c
--- src/common/server.c 29 May 2006 06:53:25 -0000 1.71
+++ src/common/server.c 8 Jun 2006 15:22:07 -0000
@@ -1534,7 +1534,10 @@
if (!serv->dont_use_proxy && (prefs.proxy_type == 5))
error = net_connect (ns_server, serv->proxy_sok4, serv->proxy_sok6, &psok);
else
+ {
error = net_connect (ns_server, serv->sok4, serv->sok6, &sok);
+ psok = sok;
+ }

if (error != 0)
{

0 comments on commit c096f36

Please sign in to comment.
You can’t perform that action at this time.