diff --git a/minizip.patch b/minizip.patch new file mode 100644 index 0000000..8b947cd --- /dev/null +++ b/minizip.patch @@ -0,0 +1,13 @@ +diff --git a/src/gtk/utilities.c b/src/gtk/utilities.c +index 7dc1a49..708de8d 100644 +--- a/src/gtk/utilities.c ++++ b/src/gtk/utilities.c +@@ -38,7 +38,7 @@ + #include + + #include +-#include ++#include + #include + + #include "gui/utilities.h" diff --git a/xiphos.spec b/xiphos.spec index 79f51ea..50e4d7b 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -2,12 +2,13 @@ Name: xiphos Version: 4.2.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ Source0: https://github.com/crosswire/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz Patch0: glib_version.patch +Patch1: minizip.patch BuildRequires: biblesync-devel >= 2.0.1-3 BuildRequires: cmake BuildRequires: desktop-file-utils @@ -28,6 +29,7 @@ BuildRequires: sword-devel >= 1.8 BuildRequires: util-linux BuildRequires: webkit2gtk3-devel BuildRequires: yelp-tools +BuildRequires: libzip-devel Requires: yelp Obsoletes: xiphos-gtk2 < 4.1 Obsoletes: xiphos-gtk3 < 4.1 @@ -47,6 +49,7 @@ Project and elsewhere. %setup -q rm -rf src/biblesync %patch0 -p0 +%patch1 -p1 %build export CFLAGS="$CFLAGS -fPIC" @@ -96,6 +99,9 @@ rm -frv %{buildroot}%{_docdir}/%{name} %{_mandir}/man1/%{name}-nav.1.gz %changelog +* Fri Mar 18 2022 Greg Hellings - 4.2.1-13 +- Add minizip patch to fix FTBFS + * Sat Jan 22 2022 Fedora Release Engineering - 4.2.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild