From: Jan Rękorajski Date: Sat, 4 Apr 2015 23:29:36 +0000 (+0000) Subject: - fix building with latest ac/am X-Git-Tag: auto/th/agg-2.5-7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fagg.git;a=commitdiff_plain;h=127f6abb26fccefe90f5eb0a78567f595ef966e5 - fix building with latest ac/am - rel 7 --- diff --git a/ac.patch b/ac.patch new file mode 100644 index 0000000..92d53dd --- /dev/null +++ b/ac.patch @@ -0,0 +1,10 @@ +--- agg-2.5/configure.in~ 2006-10-09 04:06:36.000000000 +0000 ++++ agg-2.5/configure.in 2015-04-04 23:25:20.835809908 +0000 +@@ -8,7 +8,6 @@ + AC_PROG_CC + AC_PROG_CXX + AC_ISC_POSIX +-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 0ef3aee..45de61d 100644 --- a/agg.spec +++ b/agg.spec @@ -2,12 +2,13 @@ Summary: A High Quality Rendering Engine for C++ Summary(pl.UTF-8): Silnik renderujący wysokiej jakości dla C++ Name: agg Version: 2.5 -Release: 6 +Release: 7 License: GPL v2+ Group: Libraries Source0: http://www.antigrain.com/%{name}-%{version}.tar.gz # Source0-md5: ddc67cbdc7d51e1ec984c2ac2724c08a Patch0: %{name}-depends.patch +Patch1: ac.patch URL: http://www.antigrain.com/ BuildRequires: SDL-devel BuildRequires: autoconf @@ -76,6 +77,7 @@ Statyczna biblioteka agg. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %{__libtoolize}