[radius-engine] fix ftbfs caused by new autoconf
Tom Callaway
spot at fedoraproject.org
Fri Aug 3 15:19:07 UTC 2012
commit ceb05b10b10dd04151a9fde4edbc2ebd99b0c4cd
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Aug 3 11:19:45 2012 -0400
fix ftbfs caused by new autoconf
radius-engine-0.7-disable-extra-portability.patch | 11 +++++++++++
radius-engine.spec | 10 +++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/radius-engine-0.7-disable-extra-portability.patch b/radius-engine-0.7-disable-extra-portability.patch
new file mode 100644
index 0000000..59c9e0a
--- /dev/null
+++ b/radius-engine-0.7-disable-extra-portability.patch
@@ -0,0 +1,11 @@
+diff -up radius-engine-0.7/configure.in.disable-extra-portability radius-engine-0.7/configure.in
+--- radius-engine-0.7/configure.in.disable-extra-portability 2012-08-03 11:16:02.892122322 -0400
++++ radius-engine-0.7/configure.in 2012-08-03 11:16:25.988122668 -0400
+@@ -1,6 +1,6 @@
+ AC_INIT([Radius Engine], [0.7], [deraj at users.sourceforge.net], [radius-engine], [http://radius-engine.sourceforge.net/])
+ AC_CANONICAL_TARGET
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall -Wno-extra-portability -Werror foreign])
+
+ AC_CANONICAL_BUILD
+ AC_CANONICAL_HOST
diff --git a/radius-engine.spec b/radius-engine.spec
index d2d27d5..0878239 100644
--- a/radius-engine.spec
+++ b/radius-engine.spec
@@ -1,6 +1,6 @@
Name: radius-engine
Version: 0.7
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A Lua based real-time 2D graphics game engine
Group: System Environment/Libraries
License: MIT
@@ -8,6 +8,10 @@ URL: http://radius-engine.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.gz
Patch0: radius-engine-0.6-configure-lua.patch
Patch1: radius-engine-0.7-shared-libs.patch
+# Latest autoconf enables "extra-portability" along with "Wall", which causes
+# warnings (treated as errors because of Wall) to be thrown. We just need to
+# pass "-Wno-extra-portability" to fix this.
+Patch2: radius-engine-0.7-disable-extra-portability.patch
BuildRequires: lua-devel, SDL-devel, mesa-libGL-devel, mesa-libGLU-devel
BuildRequires: physfs-devel, libpng-devel, zlib-devel, SDL_sound-devel
# I could not figure out a way to generate a patch to enable shared libraries
@@ -35,6 +39,7 @@ Development libraries and headers for Radius Engine.
%setup -q
%patch0 -p1 -b .lua
%patch1 -p1 -b .shared
+%patch2 -p1 -b .disable-extra-portability
autoreconf -if
chmod -x *.c *.h ChangeLog
@@ -61,6 +66,9 @@ rm -rf %{buildroot}%{_libdir}/*.la
%{_libdir}/pkgconfig/radius-engine.pc
%changelog
+* Fri Aug 3 2012 Tom Callaway <spot at fedoraproject.org> - 0.7-5
+- fix ftbfs because of autoconf changes
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list