[packages/agg] - fix building with latest ac/am - rel 7

baggins baggins at pld-linux.org
Sun Apr 5 00:29:02 CEST 2015


commit 127f6abb26fccefe90f5eb0a78567f595ef966e5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 4 23:29:36 2015 +0000

    - fix building with latest ac/am
    - rel 7

 ac.patch | 10 ++++++++++
 agg.spec |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
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}
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/agg.git/commitdiff/127f6abb26fccefe90f5eb0a78567f595ef966e5



More information about the pld-cvs-commit mailing list