rpms/xchat/devel xc284-scrollbmkdir.diff, NONE, 1.1 xchat.spec, 1.74, 1.75
Kevin Kofler (kkofler)
fedora-extras-commits at redhat.com
Tue Jul 10 18:45:44 UTC 2007
- Previous message: rpms/highlight/devel highlight-2.6.1-makefile.patch, NONE, 1.1 highlight-2.6.1-rpmoptflags.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 highlight.spec, 1.18, 1.19 sources, 1.8, 1.9 highlight-2.4-makefile.patch, 1.5, NONE highlight-2.4-rpmoptflags.patch, 1.5, NONE
- Next message: rpms/xchat/F-7 xc284-scrollbmkdir.diff, NONE, 1.1 xchat.spec, 1.71, 1.72
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kkofler
Update of /cvs/pkgs/rpms/xchat/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22887/devel
Modified Files:
xchat.spec
Added Files:
xc284-scrollbmkdir.diff
Log Message:
Apply xc284-scrollbmkdir.diff from upstream.
xc284-scrollbmkdir.diff:
--- NEW FILE xc284-scrollbmkdir.diff ---
#
# Fix creation of ~/.xchat2/scrollback/ paths.
#
--- xchat-2.8.4/src/common/text.c 15 Jun 2007 03:53:42 -0000 1.89
+++ xchat-2.8.4p1/src/common/text.c 8 Jul 2007 08:59:02 -0000
@@ -49,20 +49,25 @@
static void mkdir_p (char *dir);
+static char *log_create_filename (char *channame);
static char *
scrollback_get_filename (session *sess, char *buf, int max)
{
- char *net;
+ char *net, *chan;
net = server_get_network (sess->server, FALSE);
if (!net)
return NULL;
- snprintf (buf, max, "%s/scrollback/%s/%s.txt", get_xdir_fs (), net, sess->channel);
+ snprintf (buf, max, "%s/scrollback/%s/%s.txt", get_xdir_fs (), net, "");
mkdir_p (buf);
+ chan = log_create_filename (sess->channel);
+ snprintf (buf, max, "%s/scrollback/%s/%s.txt", get_xdir_fs (), net, chan);
+ free (chan);
+
return buf;
}
Index: xchat.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xchat/devel/xchat.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- xchat.spec 4 Jul 2007 10:17:05 -0000 1.74
+++ xchat.spec 10 Jul 2007 18:45:09 -0000 1.75
@@ -3,7 +3,7 @@
Summary: A popular and easy to use graphical IRC (chat) client
Name: xchat
Version: 2.8.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
Group: Applications/Internet
License: GPL
@@ -12,6 +12,8 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Patches 0-9 reserved for official xchat.org patches
+# Fix creation of ~/.xchat2/scrollback/ paths.
+Patch0: xc284-scrollbmkdir.diff
Patch10: xchat-2.8.4-redhat-desktop.patch
Patch12: xchat-1.8.7-use-sysconf-to-detect-cpus.patch
@@ -59,6 +61,7 @@
%prep
%setup -q
+%patch0 -p1
%patch10 -p1 -b .desktop-file
%patch12 -p0 -b .use-sysconf-to-detect-cpus
@@ -154,6 +157,9 @@
%{_libdir}/xchat/plugins/tcl.so
%changelog
+* Tue Jul 10 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:2.8.4-2
+- apply xc284-scrollbmkdir.diff from upstream
+
* Wed Jul 4 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:2.8.4-1
- update to 2.8.4
- drop xc282-fixtrayzombies.diff (already in 2.8.4)
- Previous message: rpms/highlight/devel highlight-2.6.1-makefile.patch, NONE, 1.1 highlight-2.6.1-rpmoptflags.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 highlight.spec, 1.18, 1.19 sources, 1.8, 1.9 highlight-2.4-makefile.patch, 1.5, NONE highlight-2.4-rpmoptflags.patch, 1.5, NONE
- Next message: rpms/xchat/F-7 xc284-scrollbmkdir.diff, NONE, 1.1 xchat.spec, 1.71, 1.72
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list