Using the patch, mod_tile compiles on Fedora 32

This commit is contained in:
2020-07-24 10:36:34 +02:00
parent d6b68adc7b
commit eead949628

View File

@@ -1,12 +1,13 @@
Name: mod_tile
Version: 0.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A program to efficiently render and serve map tiles for www.openstreetmap.org map using Apache and Mapnik.
License: GPLv2
URL: https://github.com/openstreetmap/mod_tile
Source0: %{name}-%{version}.tgz
Source1: 10-tile.conf
Patch0: mod_tile-move-variables-to-prevent-duplicates.patch
BuildRequires: httpd-devel, apr
BuildRequires: mapnik-devel
@@ -32,6 +33,7 @@ at compile time, see: render_config.h
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b duplicated-variables
%build
%configure \
@@ -69,6 +71,9 @@ fi
%{_mandir}/man8/*
%changelog
* Fri Jul 23 2020 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Patch for duplicated variables definition added, this compiles now on Fedora 32 and gcc 10.
* Sat Nov 9 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Fix for modules config path.