summaryrefslogtreecommitdiff
path: root/graphics/cairo
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2006-11-09 13:26:36 +0000
committerdsainty <dsainty@pkgsrc.org>2006-11-09 13:26:36 +0000
commitd82a54acd1ab6cdb2d726114125ecc61b591d216 (patch)
tree720bd2ac2ecf9a7ebd77fddd2b1b5371ae45ee9c /graphics/cairo
parent976dac1696367702ab3fd70b96bd1fd9035466a7 (diff)
downloadpkgsrc-d82a54acd1ab6cdb2d726114125ecc61b591d216.tar.gz
Teach Solaris to expose snprintf() with:
CPPFLAGS.SunOS+=-D__EXTENSIONS__ Without this a Solaris 9 build falls over at cairo-output-stream.c.
Diffstat (limited to 'graphics/cairo')
-rw-r--r--graphics/cairo/Makefile5
1 files changed, 4 insertions, 1 deletions
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"