From 13ff094c8e32429caa953ebecedfa7dfbf9844a5 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Dec 18 2007 23:41:45 +0000 Subject: - apply xc284-fix-scrollbfdleak.diff from upstream --- diff --git a/xc284-fix-scrollbfdleak.diff b/xc284-fix-scrollbfdleak.diff new file mode 100644 index 0000000..a5dbf2a --- /dev/null +++ b/xc284-fix-scrollbfdleak.diff @@ -0,0 +1,14 @@ +# +# Scrollback shrinking code forgets to close(). +# +--- xchat-2.8.4/src/common/text.c 2007-06-13 19:59:56.000000000 +1000 ++++ xchat-2.8.4p1/src/common/text.c 2007-11-02 23:52:57.000000000 +1100 +@@ -141,6 +146,7 @@ + } + + *len = st.st_size; ++ close (fh); + return buf; + } + + diff --git a/xchat.spec b/xchat.spec index 81608cb..a4e89ed 100644 --- a/xchat.spec +++ b/xchat.spec @@ -3,7 +3,7 @@ Summary: A popular and easy to use graphical IRC (chat) client Name: xchat Version: 2.8.4 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 Group: Applications/Internet License: GPLv2+ @@ -18,6 +18,8 @@ Patch0: xc284-scrollbmkdir.diff # 2) Puts a "Display scrollback from previous session" into the Setup GUI # (logging section) so people can turn this off without typing commands. Patch1: xc284-improvescrollback.diff +# Scrollback shrinking code forgets to close(). +Patch2: xc284-fix-scrollbfdleak.diff Patch10: xchat-2.8.4-redhat-desktop.patch Patch12: xchat-1.8.7-use-sysconf-to-detect-cpus.patch @@ -64,6 +66,7 @@ This package contains the X-Chat plugin providing the Tcl scripting interface. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %patch10 -p1 -b .desktop-file %patch12 -p0 -b .use-sysconf-to-detect-cpus @@ -157,6 +160,9 @@ fi %{_libdir}/xchat/plugins/tcl.so %changelog +* Wed Dec 19 2007 Kevin Kofler - 1:2.8.4-8 +- apply xc284-fix-scrollbfdleak.diff from upstream + * Wed Dec 5 2007 Christopher Aillon - 1:2.8.4-7 - Fix the icon key in the .desktop file to validate