Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory 
sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv30227/10.4/unstable/main/finkinfo/net

Modified Files:
        xchat.info xchat.patch 
Log Message:
New upstream version (now that my X11 is fixed, I can test & update my X11 
packages again ;)

Index: xchat.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/xchat.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xchat.patch 20 Jan 2006 20:28:28 -0000      1.1
+++ xchat.patch 5 Sep 2008 17:15:38 -0000       1.2
@@ -10,3 +10,71 @@
                                  PY_CFLAGS="-I$PY_INC"
                                  echo "$as_me:$LINENO: result: ok" >&5
  echo "${ECHO_T}ok" >&6
+#
+# Various small fixes from CVS that are considered safe to apply to 2.8.6.
+#
+--- xchat-2.8.6/src/common/cfgfiles.c  2008-02-05 21:02:47.000000000 +1100
++++ xchat-2.8.6p1/src/common/cfgfiles.c        2008-06-15 13:45:43.000000000 
+1000
+@@ -886,7 +886,6 @@
+ set_showval (session *sess, const struct prefs *var, char *tbuf)
+ {
+       int len, dots, j;
+-      static const char *offon[] = { "OFF", "ON" };
+ 
+       len = strlen (var->name);
+       memcpy (tbuf, var->name, len);
+@@ -909,8 +908,10 @@
+                                       *((int *) &prefs + var->offset));
+               break;
+       case TYPE_BOOL:
+-              sprintf (tbuf + len, "\0033:\017 %s\n", offon[
+-                                      *((int *) &prefs + var->offset)]);
++              if (*((int *) &prefs + var->offset))
++                      sprintf (tbuf + len, "\0033:\017 %s\n", "ON");
++              else
++                      sprintf (tbuf + len, "\0033:\017 %s\n", "OFF");
+               break;
+       }
+       PrintText (sess, tbuf);
+--- xchat-2.8.6/src/common/chanopt.c   2008-06-10 22:00:55.000000000 +1000
++++ xchat-2.8.6p1/src/common/chanopt.c 2008-06-15 13:48:04.000000000 +1000
+@@ -32,7 +32,7 @@
+ 
+ #define S_F(xx) STRUCT_OFFSET_STR(struct session,xx)
+ 
+-channel_options chanopt[] =
++static const channel_options chanopt[] =
+ {
+       {"alert_beep", "BEEP", S_F(alert_beep)},
+       {"alert_taskbar", NULL, S_F(alert_taskbar)},
+--- xchat-2.8.6/src/common/servlist.c  2008-04-01 19:22:34.000000000 +1100
++++ xchat-2.8.6p1/src/common/servlist.c        2008-06-15 13:57:41.000000000 
+1000
+@@ -509,6 +509,8 @@
+       list = g_slist_nth (net->servlist, net->selected);
+       if (!list)
+               list = net->servlist;
++      if (!list)
++              return;
+       ircserv = list->data;
+ 
+       /* incase a protocol switch is added to the servlist gui */
+--- xchat-2.8.6/src/common/text.c      2008-03-28 13:20:04.000000000 +1100
++++ xchat-2.8.6p1/src/common/text.c    2008-06-15 13:59:59.000000000 +1000
+@@ -216,7 +216,7 @@
+ static void
+ scrollback_save (session *sess, char *text)
+ {
+-      char buf[1024];
++      char buf[512 * 4];
+       time_t stamp;
+       int len;
+ 
+@@ -266,7 +266,7 @@
+ scrollback_load (session *sess)
+ {
+       int fh;
+-      char buf[1024];
++      char buf[512 * 4];
+       char *text;
+       time_t stamp;
+       int lines;
\ No newline at end of file

Index: xchat.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/xchat.info,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- xchat.info  20 Jul 2008 05:41:18 -0000      1.17
+++ xchat.info  5 Sep 2008 17:15:38 -0000       1.18
@@ -15,8 +15,8 @@
 # maintainership of) the affected package.
 
 Package: xchat
-Version: 2.8.2
-Revision: 3
+Version: 2.8.6
+Revision: 1
 Maintainer: Max Horn <[EMAIL PROTECTED]>
 BuildDepends: <<
   system-openssl-dev,
@@ -57,7 +57,7 @@
 Conflicts: xchat-ssl (<< 2.6.8-1022)
 Replaces: xchat-ssl (<< 2.6.8-1022)
 Source: http://xchat.org/files/source/2.8/xchat-%v.tar.bz2
-Source-MD5: d87a93bcd39d96ff3a3d0f8199efcf12
+Source-MD5: 1f2670865d43a23a9abc596dde999aca
 Patch: %n.patch
 ConfigureParams: <<
   --enable-openssl \


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to