summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordsainty <dsainty>2006-11-09 13:26:36 +0000
committerdsainty <dsainty>2006-11-09 13:26:36 +0000
commit343149921da51ec0a4425ba8212de2af84991bf8 (patch)
tree720bd2ac2ecf9a7ebd77fddd2b1b5371ae45ee9c /graphics
parentf709ac7504e6dc270e5e3c65bbc157ad0d3ce142 (diff)
downloadpkgsrc-343149921da51ec0a4425ba8212de2af84991bf8.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')
-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"