From 208d15ac2a59941a90771080dc8160a47c153d21 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Wed, 12 Dec 2007 05:55:49 +0000 Subject: Scrollback shrinking code forgets to close(), bump the PORTREVISION. Obtained from: http://xchat.org/files/source/2.8/patches/ --- irc/xchat/Makefile | 2 +- irc/xchat/files/patch-xc284-fix-scrollbfdleak | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 irc/xchat/files/patch-xc284-fix-scrollbfdleak (limited to 'irc') diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile index f70f6ae2a3c8..51f5e823659b 100644 --- a/irc/xchat/Makefile +++ b/irc/xchat/Makefile @@ -8,7 +8,7 @@ PORTNAME= xchat PORTVERSION= 2.8.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= irc gnome ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ diff --git a/irc/xchat/files/patch-xc284-fix-scrollbfdleak b/irc/xchat/files/patch-xc284-fix-scrollbfdleak new file mode 100644 index 000000000000..32963cbf10b0 --- /dev/null +++ b/irc/xchat/files/patch-xc284-fix-scrollbfdleak @@ -0,0 +1,14 @@ +# +# Scrollback shrinking code forgets to close(). +# +--- src/common/text.c 2007-06-13 19:59:56.000000000 +1000 ++++ src/common/text.c 2007-11-02 23:52:57.000000000 +1100 +@@ -141,6 +146,7 @@ + } + + *len = st.st_size; ++ close (fh); + return buf; + } + + -- cgit v1.2.3