irssi: fix for invalid pointer
This commit is contained in:
parent
a38d626e4c
commit
91d5879ca9
12
irssi-0.8.10-glibc-invalid-pointer.patch
Normal file
12
irssi-0.8.10-glibc-invalid-pointer.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/irc/dcc/dcc.c 2005-12-25 02:12:48.000000000 -0600
|
||||
+++ src/irc/dcc/dcc.c 2005-12-25 02:12:55.000000000 -0600
|
||||
@@ -58,8 +58,8 @@
|
||||
|
||||
pos = gslist_find_string(dcc_types, type);
|
||||
if (pos != NULL) {
|
||||
- dcc_types = g_slist_remove(dcc_types, pos->data);
|
||||
g_free(pos->data);
|
||||
+ dcc_types = g_slist_remove(dcc_types, pos->data);
|
||||
}
|
||||
}
|
||||
|
@ -3,12 +3,13 @@
|
||||
Summary: Modular text mode IRC client with Perl scripting
|
||||
Name: irssi
|
||||
Version: 0.8.10
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
License: GPL
|
||||
Group: Applications/Communications
|
||||
URL: http://irssi.org/
|
||||
Source0: http://irssi.org/files/irssi-%{version}.tar.bz2
|
||||
Patch0: irssi-0.8.10-glibc-invalid-pointer.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildRequires: ncurses-devel openssl-devel zlib-devel
|
||||
BuildRequires: pkgconfig glib2-devel
|
||||
@ -36,6 +37,7 @@ being maintained.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
%configure --enable-ipv6 --with-textui \
|
||||
@ -83,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/irssi
|
||||
|
||||
%changelog
|
||||
* Wed Mar 15 2006 Dams <anvil[AT]livna.org> - 0.8.10-4
|
||||
- Added patch from Saleem Abdulrasool to fix invalid pointer.
|
||||
|
||||
* Sat Jan 28 2006 Dams <anvil[AT]livna.org> - 0.8.10-3
|
||||
- Fixed changelog -_-
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user