Fix FTBFS.

This commit is contained in:
Jon Ciesla 2013-02-22 09:47:24 -06:00
commit 044f374c0c
2 changed files with 17 additions and 1 deletions

11
agg-2.5-autotools.patch Normal file
View file

@ -0,0 +1,11 @@
--- configure.in~ 2013-02-22 09:30:00.000000000 -0600
+++ configure.in 2013-02-22 09:30:49.030777571 -0600
@@ -8,7 +8,7 @@
AC_PROG_CC
AC_PROG_CXX
AC_ISC_POSIX
-AM_C_PROTOTYPES
+#AM_C_PROTOTYPES
if test "x$U" != "x"; then
AC_MSG_ERROR(Compiler not ANSI compliant)
fi

View file

@ -1,7 +1,7 @@
Summary: Anti-Grain Geometry graphical rendering engine
Name: agg
Version: 2.5
Release: 15%{?dist}
Release: 16%{?dist}
Group: System Environment/Libraries
URL: http://www.antigrain.com
License: GPLv2+
@ -19,6 +19,7 @@ BuildRequires: automake, libtool, libX11-devel, freetype-devel, SDL-devel
Patch0: agg-2.4-depends.patch
Patch1: agg-2.5-pkgconfig.patch
Patch2: agg-2.5-autotools.patch
%description
A High Quality Rendering Engine for C++.
@ -38,6 +39,7 @@ using agg.
%setup -q
%patch0 -p1 -b .depends
%patch1 -p1 -b .pkgconfig
%patch2 -p0 -b .autotools
aclocal
autoheader
autoconf
@ -83,6 +85,9 @@ mv __clean_examples __dist_examples/examples
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 22 2013 Jon Ciesla <limburgher@gmail.com> - 2.5-16
- Fix FTBFS, BZ 913873.
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild