From bac3044b6fc0bbfca24b3d58b9496262736e292b Mon Sep 17 00:00:00 2001 From: dsainty Date: Thu, 9 Nov 2006 13:26:36 +0000 Subject: Teach Solaris to expose snprintf() with: CPPFLAGS.SunOS+=-D__EXTENSIONS__ Without this a Solaris 9 build falls over at cairo-output-stream.c. --- graphics/cairo/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'graphics/cairo') diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index f9244aa3b4d..d75d632da86 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2006/11/05 17:23:44 joerg Exp $ +# $NetBSD: Makefile,v 1.50 2006/11/09 13:26:36 dsainty Exp $ DISTNAME= cairo-1.2.4 PKGREVISION= 3 @@ -39,6 +39,9 @@ BUILDLINK_API_DEPENDS.glitz+= glitz>=0.5.1 CFLAGS+= -c99 .endif +# For snprintf() +CPPFLAGS.SunOS+= -D__EXTENSIONS__ + TEST_TARGET= check .include "../../devel/zlib/buildlink3.mk" -- cgit v1.2.3