From 044f374c0c135ed3845d5404258b9a717d62bd5f Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Feb 22 2013 15:47:24 +0000 Subject: Fix FTBFS. --- diff --git a/agg-2.5-autotools.patch b/agg-2.5-autotools.patch new file mode 100644 index 0000000..b273477 --- /dev/null +++ b/agg-2.5-autotools.patch @@ -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 diff --git a/agg.spec b/agg.spec index 0b28e7b..5ad1337 100644 --- a/agg.spec +++ b/agg.spec @@ -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 - 2.5-16 +- Fix FTBFS, BZ 913873. + * Wed Feb 13 2013 Fedora Release Engineering - 2.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild