Merge of f16 branch
This commit is contained in:
commit
c4d061e462
13
irssi-0.8.15-init-resize-crash-fix.patch
Normal file
13
irssi-0.8.15-init-resize-crash-fix.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up irssi-0.8.15/src/fe-text/irssi.c.old irssi-0.8.15/src/fe-text/irssi.c
|
||||||
|
diff -up irssi-0.8.15/src/fe-text/mainwindows.c.old irssi-0.8.15/src/fe-text/mainwindows.c
|
||||||
|
--- irssi-0.8.15/src/fe-text/mainwindows.c.old 2010-04-03 18:19:42.000000000 +0200
|
||||||
|
+++ irssi-0.8.15/src/fe-text/mainwindows.c 2012-02-24 10:47:51.215293213 +0100
|
||||||
|
@@ -355,7 +355,7 @@ static void mainwindows_resize_smaller(i
|
||||||
|
int space;
|
||||||
|
|
||||||
|
sorted = mainwindows_get_sorted(TRUE);
|
||||||
|
- for (;;) {
|
||||||
|
+ for (;sorted != NULL;) {
|
||||||
|
space = 0;
|
||||||
|
for (tmp = mainwindows; tmp != NULL; tmp = tmp->next) {
|
||||||
|
rec = tmp->data;
|
10
irssi.spec
10
irssi.spec
@ -3,13 +3,15 @@
|
|||||||
Summary: Modular text mode IRC client with Perl scripting
|
Summary: Modular text mode IRC client with Perl scripting
|
||||||
Name: irssi
|
Name: irssi
|
||||||
Version: 0.8.15
|
Version: 0.8.15
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
URL: http://irssi.org/
|
URL: http://irssi.org/
|
||||||
Source0: http://irssi.org/files/irssi-%{version}.tar.bz2
|
Source0: http://irssi.org/files/irssi-%{version}.tar.bz2
|
||||||
Source1: irssi-config.h
|
Source1: irssi-config.h
|
||||||
|
# Bug 796457
|
||||||
|
Patch0: irssi-0.8.15-init-resize-crash-fix.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRequires: ncurses-devel openssl-devel zlib-devel
|
BuildRequires: ncurses-devel openssl-devel zlib-devel
|
||||||
BuildRequires: pkgconfig glib2-devel perl-devel perl(ExtUtils::Embed)
|
BuildRequires: pkgconfig glib2-devel perl-devel perl(ExtUtils::Embed)
|
||||||
@ -35,6 +37,7 @@ being maintained.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0 -p1 -b .init-resize-crash-fix
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-ipv6 --with-textui \
|
%configure --enable-ipv6 --with-textui \
|
||||||
@ -84,6 +87,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 24 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 0.8.15-8
|
||||||
|
- Fixed crash that can occur if term is resized during irssi init
|
||||||
|
(init-resize-crash-fix patch)
|
||||||
|
Resolves: rhbz#796457
|
||||||
|
|
||||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.15-7
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.15-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user