pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cairo Teach Solaris to expose snprintf() with:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1969fb4c95d
branches:  trunk
changeset: 521326:f1969fb4c95d
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Thu Nov 09 13:26:36 2006 +0000

description:
Teach Solaris to expose snprintf() with:

CPPFLAGS.SunOS+=-D__EXTENSIONS__

Without this a Solaris 9 build falls over at cairo-output-stream.c.

diffstat:

 graphics/cairo/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7e9893178b99 -r f1969fb4c95d graphics/cairo/Makefile
--- a/graphics/cairo/Makefile   Thu Nov 09 13:15:10 2006 +0000
+++ b/graphics/cairo/Makefile   Thu Nov 09 13:26:36 2006 +0000
@@ -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 @@
 CFLAGS+=                       -c99
 .endif
 
+# For snprintf()
+CPPFLAGS.SunOS+=               -D__EXTENSIONS__
+
 TEST_TARGET=                   check
 
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index