[fedora-extras-commits] rpms/allegro/devel allegro-4.0.3-mmaptest.patch, NONE, 1.1 allegro.spec, 1.3, 1.4
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Wed Nov 10 16:10:07 UTC 2004
Changeset from: mschwendt
Update of /cvs/extras/rpms/allegro/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv5596
Modified Files:
allegro.spec
Added Files:
allegro-4.0.3-mmaptest.patch
Log Message:
Fix build for FC3.
allegro-4.0.3-mmaptest.patch:
--- NEW FILE allegro-4.0.3-mmaptest.patch ---
diff -Nur allegro-4.0.3-orig/configure allegro-4.0.3/configure
--- allegro-4.0.3-orig/configure 2003-04-19 09:13:09.000000000 +0200
+++ allegro-4.0.3/configure 2004-11-10 17:07:13.172543144 +0100
@@ -4470,7 +4470,7 @@
#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
#else
-char *malloc();
+/* char *malloc(); */
#endif
int
Index: allegro.spec
===================================================================
RCS file: /cvs/extras/rpms/allegro/devel/allegro.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- allegro.spec 8 Nov 2004 04:01:13 -0000 1.3
+++ allegro.spec 10 Nov 2004 16:10:05 -0000 1.4
@@ -1,6 +1,6 @@
Name: allegro
Version: 4.0.3
-Release: 0.fdr.5.2
+Release: 6
Epoch: 0
Summary: A game programming library
Summary(es): Una libreria de programacion de juegos
@@ -11,6 +11,7 @@
License: Giftware
URL: http://alleg.sourceforge.net/
Source: http://download.sourceforge.net/alleg/allegro-4.0.3.tar.gz
+Patch: allegro-4.0.3-mmaptest.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: XFree86-devel, esound-devel, texinfo, perl, arts-devel
@@ -93,6 +94,7 @@
%prep
%setup -q
+%patch -p1 -b .mmaptest
perl -pi -e 's|\$TARGET_ARCH\s+-O\S+|\$RPM_OPT_FLAGS|g' configure
@@ -178,6 +180,9 @@
%changelog
+* Wed Nov 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:4.0.3-6
+- Fix build for FC3 via fixed mmap test in configure script.
+
* Mon Nov 10 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.5
- Use MMX/SSE where appropriate (bug 959).
More information about the fedora-extras-commits
mailing list