diff --git a/elinks-0.11.1-badproxy.patch b/elinks-0.11.1-badproxy.patch new file mode 100644 index 0000000..f1f118d --- /dev/null +++ b/elinks-0.11.1-badproxy.patch @@ -0,0 +1,12 @@ +--- elinks-0.11.1/src/session/task.c.kzak 2006-10-11 09:26:28.000000000 +0200 ++++ elinks-0.11.1/src/session/task.c 2006-10-11 09:27:29.000000000 +0200 +@@ -538,7 +538,8 @@ + } + + if (is_in_result_state(download->state) && download->state != S_OK) { +- print_error_dialog(ses, download->state, download->conn->uri, ++ print_error_dialog(ses, download->state, ++ download->conn ? download->conn->uri : NULL, + download->pri); + if (d == DO_MOVE_ABORT) reload(ses, CACHE_MODE_NORMAL); + } diff --git a/elinks.spec b/elinks.spec index 62acee2..fc4d0bb 100644 --- a/elinks.spec +++ b/elinks.spec @@ -2,7 +2,7 @@ Name: elinks Summary: A text-mode Web browser. Version: 0.11.1 -Release: 4.1 +Release: 5 Source: http://elinks.or.cz/download/elinks-%{version}.tar.bz2 Group: Applications/Internet URL: http://elinks.or.cz/ @@ -30,6 +30,7 @@ Patch4: elinks-0.11.0-sysname.patch Patch5: elinks-0.10.1-xterm.patch Patch6: elinks-0.11.0-union.patch Patch7: elinks-0.11.1-negotiate.patch +Patch8: elinks-0.11.1-badproxy.patch %description Links is a text-based Web browser. Links does not display any images, @@ -55,7 +56,8 @@ quickly and swiftly displays Web pages. %patch6 -p1 -b .union # Fix #194096 – elinks should support negotiate-auth %patch7 -p1 -b .negotiate - +# Fix #210103 - elinks crashes when given bad HTTP_PROXY +%patch8 -p1 -b .badproxy %build #aclocal @@ -91,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/* %changelog +* Wed Oct 11 2006 Karel Zak 0.11.1-5 +- fix #210103 - elinks crashes when given bad HTTP_PROXY + * Wed Jul 12 2006 Jesse Keating - 0.11.1-4.1 - rebuild