[stratagus] Fix for libpng 1.5 so it will build in rawhide

Bruno Wolff III bruno at fedoraproject.org
Fri Jul 27 20:55:46 UTC 2012


commit 32d91da74fdf220462ae623dc4d633a6adb90f35
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Fri Jul 27 15:47:51 2012 -0500

    Fix for libpng 1.5 so it will build in rawhide

 stratagus.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/stratagus.spec b/stratagus.spec
index fd13c83..7ba56ea 100644
--- a/stratagus.spec
+++ b/stratagus.spec
@@ -1,7 +1,7 @@
 Name:		stratagus
 Summary:	Real-time strategy gaming engine
 Version:	2.2.4
-Release:	13%{?dist}
+Release:	14%{?dist}
 License:	GPLv2
 Group:		Development/Libraries
 URL:		http://stratagus.sourceforge.net/
@@ -11,6 +11,7 @@ Patch1:		stratagus-gcc43.patch
 # currently broken
 Patch2:		stratagus--guichan_external.diff
 Patch3:		stratagus-includes.patch
+Patch4:         stratagus-libpng15.patch
 BuildRequires:	mikmod-devel
 BuildRequires:	tolua++-devel
 BuildRequires:  lua-devel
@@ -39,6 +40,7 @@ of current games using the stratagus engine.
 %patch1 -p1 -b .gcc43
 #%patch2 -p0 -b .guichan
 %patch3 -p1 -b .includes
+%patch4 -p0 -b .libpng15
 dos2unix doc/graphics/stratagus.gimp
 dos2unix doc/scripts/makeindex.py
 dos2unix doc/scripts/showindex.py
@@ -70,6 +72,9 @@ install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
 %{_bindir}/%{name}
 
 %changelog
+* Fri Jul 27 2012 Bruno Wolff III <bruno at wolff.to> 2.2.4-14
+- Fix for libpng 1.5 so it will build in rawhide
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.4-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list