diff --git a/evince-3.17.2-check-to-avoid-crash.patch b/evince-3.17.2-check-to-avoid-crash.patch deleted file mode 100644 index 3d1b8ef..0000000 --- a/evince-3.17.2-check-to-avoid-crash.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c -index 7805219..c871ff9 100644 ---- a/libview/ev-view-accessible.c -+++ b/libview/ev-view-accessible.c -@@ -578,7 +578,7 @@ ev_view_accessible_set_page_range (EvViewAccessible *accessible, - g_return_if_fail (EV_IS_VIEW_ACCESSIBLE (accessible)); - - for (i = accessible->priv->start_page; i <= accessible->priv->end_page; i++) { -- if (i < start || i > end) { -+ if ((i < start || i > end) && i < ev_view_accessible_get_n_pages (accessible)) { - page = g_ptr_array_index (accessible->priv->children, i); - atk_object_notify_state_change (page, ATK_STATE_SHOWING, FALSE); - } diff --git a/evince.spec b/evince.spec index 849ebf8..81374f5 100644 --- a/evince.spec +++ b/evince.spec @@ -12,7 +12,6 @@ License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse Group: Applications/Publishing URL: https://wiki.gnome.org/Apps/Evince Source0: http://download.gnome.org/sources/%{name}/3.20/%{name}-%{version}.tar.xz -Patch1: evince-3.17.2-check-to-avoid-crash.patch BuildRequires: pkgconfig(adwaita-icon-theme) BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} @@ -118,8 +117,7 @@ This package contains the evince web browser plugin. %prep -%setup -q -%patch1 -p1 -b .check-to-avoid-crash +%autosetup -p1 %build %configure \ @@ -262,6 +260,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||: %{_libdir}/mozilla/plugins/libevbrowserplugin.so %changelog +* Mon Jun 20 2016 Michael Catanzaro - 3.20.0-2 +- Remove downstream patch that's no longer needed + * Tue Mar 22 2016 Kalev Lember - 3.20.0-1 - Update to 3.20.0