pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cairo Add a workaround for 128-bit int proble...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/356684d452d9
branches:  trunk
changeset: 582744:356684d452d9
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Nov 28 14:06:16 2010 +0000

description:
Add a workaround for 128-bit int problem with gcc 4.1 on DragonFly BSD x86_64.
fixes PR#43928.

diffstat:

 graphics/cairo/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e540e5de84ee -r 356684d452d9 graphics/cairo/Makefile
--- a/graphics/cairo/Makefile   Sun Nov 28 13:23:06 2010 +0000
+++ b/graphics/cairo/Makefile   Sun Nov 28 14:06:16 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2010/10/13 00:11:21 spz Exp $
+# $NetBSD: Makefile,v 1.86 2010/11/28 14:06:16 obache Exp $
 
 DISTNAME=      cairo-1.10.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  http://cairographics.org/releases/
 
@@ -37,6 +37,12 @@
 
 TEST_TARGET=                   check
 
+# PR#43928
+.include "../../mk/compiler.mk"
+.if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*}
+CONFIGURE_ENV+=                ac_cv_type___uint128_t=no
+.endif
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 BUILDLINK_API_DEPENDS.freetype2+=      freetype2>=2.1.9



Home | Main Index | Thread Index | Old Index