[ETL] Add ETL-0.04.13-gcc47.patch (Fix mass rebuild FTBFS).

corsepiu corsepiu at fedoraproject.org
Wed Jan 18 11:09:42 UTC 2012


commit 768e1341f8507ca8c434f4f1beb4a119383d0d05
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Wed Jan 18 12:09:33 2012 +0100

    Add ETL-0.04.13-gcc47.patch (Fix mass rebuild FTBFS).

 ETL-0.04.13-gcc47.patch |   12 ++++++++++++
 ETL.spec                |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/ETL-0.04.13-gcc47.patch b/ETL-0.04.13-gcc47.patch
new file mode 100644
index 0000000..280e22b
--- /dev/null
+++ b/ETL-0.04.13-gcc47.patch
@@ -0,0 +1,12 @@
+diff -Naur ETL-0.04.13.orig/ETL/_clock_base.h ETL-0.04.13/ETL/_clock_base.h
+--- ETL-0.04.13.orig/ETL/_clock_base.h	2009-10-12 11:33:44.000000000 +0200
++++ ETL-0.04.13/ETL/_clock_base.h	2012-01-18 12:02:42.330585056 +0100
+@@ -74,7 +74,7 @@
+ 	{ get_current_time(base_time); }
+ 
+ 	value_type operator()()const
+-	{ return timestamp_to_seconds(get_current_time()-base_time); }
++	{ return this->timestamp_to_seconds(get_current_time()-base_time); }
+ 
+ 	value_type pop_time()
+ 	{
diff --git a/ETL.spec b/ETL.spec
index d2614c7..62c97f4 100644
--- a/ETL.spec
+++ b/ETL.spec
@@ -2,13 +2,14 @@
 
 Name:           ETL
 Version:        0.04.13
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Extended Template Library
 
 Group:          Development/Libraries
 License:        GPLv2+
 URL:            http://synfig.org
 Source0:        http://downloads.sourceforge.net/synfig/ETL-%{version}.tar.gz
+Patch0:         ETL-0.04.13-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Buildrequires:  doxygen
 Buildrequires:  autoconf automake
@@ -31,6 +32,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -62,6 +64,9 @@ make check
 
 
 %changelog
+* Wed Jan 18 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.04.13-4
+- Add ETL-0.04.13-gcc47.patch (Fix mass rebuild FTBFS).
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.04.13-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list