diff --git a/zimlib-fix-flags.patch b/zimlib-fix-flags.patch new file mode 100644 index 0000000..63a16b0 --- /dev/null +++ b/zimlib-fix-flags.patch @@ -0,0 +1,25 @@ +From f28658b6dd722e548e93f5d45a03ac7c8d078501 Mon Sep 17 00:00:00 2001 +From: Vitaly Zaitsev +Date: Wed, 10 Apr 2019 14:57:47 +0200 +Subject: [PATCH 2/2] Removed Werror build flag. + +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 2d38684..42e5253 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,7 +1,7 @@ + project('libzim', ['c', 'cpp'], + version : '4.0.6', + license : 'GPL2', +- default_options : ['c_std=c11', 'cpp_std=c++11', 'werror=true']) ++ default_options : ['c_std=c11', 'cpp_std=c++11']) + + if build_machine.system() != 'windows' + add_project_arguments('-D_LARGEFILE64_SOURCE=1', '-D_FILE_OFFSET_BITS=64', language: 'cpp') +-- +2.20.1 + diff --git a/zimlib-no-rpath.patch b/zimlib-no-rpath.patch index eacfda6..46279e7 100644 --- a/zimlib-no-rpath.patch +++ b/zimlib-no-rpath.patch @@ -1,7 +1,7 @@ From dd7e0ec915e4ad782328b496677bf7b122282560 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Wed, 10 Apr 2019 14:31:32 +0200 -Subject: [PATCH] Removed Rpath build. +Subject: [PATCH 1/2] Removed Rpath build. --- src/meson.build | 4 +--- diff --git a/zimlib.spec b/zimlib.spec index 54d68d0..6348acf 100644 --- a/zimlib.spec +++ b/zimlib.spec @@ -2,7 +2,7 @@ Name: zimlib Version: 4.0.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 and ASL 2.0 and BSD Summary: Reference implementation of the ZIM specification @@ -10,6 +10,7 @@ Summary: Reference implementation of the ZIM specification URL: https://github.com/openzim/%{appname} Source0: %{url}/archive/%{version}.tar.gz Patch0: %{name}-no-rpath.patch +Patch1: %{name}-fix-flags.patch BuildRequires: xapian-core-devel BuildRequires: libicu-devel @@ -54,6 +55,9 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %{_libdir}/pkgconfig/%{appname}.pc %changelog +* Wed Apr 10 2019 Vitaly Zaitsev - 4.0.6-3 +- Removed Werror build flag. + * Wed Apr 10 2019 Vitaly Zaitsev - 4.0.6-2 - Removed rpath.