[allegro5] fix png15, rebuild for physfs2
Tom Callaway
spot at fedoraproject.org
Thu Dec 15 20:46:34 UTC 2011
commit 28e9b8887198a03ad8d71ac14feeff29e0e36a05
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Dec 15 15:46:34 2011 -0500
fix png15, rebuild for physfs2
allegro-5.0.3-png15.patch | 11 +++++++++++
allegro5.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/allegro-5.0.3-png15.patch b/allegro-5.0.3-png15.patch
new file mode 100644
index 0000000..5e3de63
--- /dev/null
+++ b/allegro-5.0.3-png15.patch
@@ -0,0 +1,11 @@
+diff -up allegro-5.0.3/addons/image/png.c.fix allegro-5.0.3/addons/image/png.c
+--- allegro-5.0.3/addons/image/png.c.fix 2011-12-09 14:41:00.820972675 -0500
++++ allegro-5.0.3/addons/image/png.c 2011-12-09 14:41:08.491898729 -0500
+@@ -4,6 +4,7 @@
+
+
+ #include <png.h>
++#include <zlib.h>
+
+ #include "allegro5/allegro.h"
+ #include "allegro5/allegro_image.h"
diff --git a/allegro5.spec b/allegro5.spec
index dacbd27..5022da6 100644
--- a/allegro5.spec
+++ b/allegro5.spec
@@ -1,13 +1,14 @@
# vim: noexpandtab textwidth=74
Name: allegro5
Version: 5.0.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A game programming library
Group: System Environment/Libraries
License: zlib
URL: http://liballeg.org/
Source0: http://downloads.sourceforge.net/alleg/allegro-%{version}.tar.gz
+Patch0: allegro-5.0.3-png15.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: alsa-lib-devel cmake dumb-devel flac-devel freetype-devel
@@ -138,6 +139,7 @@ addon.
%prep
%setup -n allegro-%{version} -q
+%patch0 -p1 -b .png15
%build
%cmake -DWANT_DOCS=OFF .
@@ -293,6 +295,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/allegro_ttf-5.0.pc
%changelog
+* Fri Dec 9 2011 Tom Callaway <spot at fedoraproject.org> - 5.0.3-3
+- fix for png15
+
* Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 5.0.3-2
- Rebuild for new libpng
More information about the scm-commits
mailing list