From 6cfdb554e6be7ad96a6ed27ccbd60d3c752c2755 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Mar 07 2017 14:19:38 +0000 Subject: Fix FTBFS --- diff --git a/ETL-swap-type.patch b/ETL-swap-type.patch new file mode 100644 index 0000000..4602153 --- /dev/null +++ b/ETL-swap-type.patch @@ -0,0 +1,11 @@ +--- ETL/_surface.h~ 2016-11-30 04:59:46.000000000 -0600 ++++ ETL/_surface.h 2017-03-07 08:08:04.027014347 -0600 +@@ -190,7 +190,7 @@ + + value_prep_type cooker_; + +- void swap(const surface &x) ++ void swap(surface &x) + { + std::swap(data_,x.data_); + std::swap(zero_pos_,x.zero_pos_); diff --git a/ETL.spec b/ETL.spec index d67c00c..edc8143 100644 --- a/ETL.spec +++ b/ETL.spec @@ -3,7 +3,7 @@ Name: ETL Epoch: 1 Version: 0.04.22 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Extended Template Library Group: Development/Libraries @@ -15,6 +15,7 @@ Source0: http://downloads.sourceforge.net/synfig/ETL-%{version}.tar.gz #Patch0: ETL-0.04.13-gcc47.patch #Patch1: ETL-0.04.14-disable-tests.patch #Patch2: ETL-0.04.14-gcc47.patch +Patch3: ETL-swap-type.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildrequires: doxygen Buildrequires: autoconf automake @@ -40,6 +41,7 @@ developing applications that use %{name}. #%patch0 -p1 #%patch1 -p0 #%patch2 -p0 +%patch3 -p0 %build #pushd test @@ -73,6 +75,9 @@ make check %changelog +* Tue Mar 07 2017 Jon Ciesla - 1:0.04.22-3 +- Fix FTBFS. + * Fri Feb 10 2017 Fedora Release Engineering - 1:0.04.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild