pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/p5-GD Add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdc397db03ef
branches:  trunk
changeset: 621065:fdc397db03ef
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Thu Jul 04 05:38:55 2013 +0000

description:
Add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS per PR 45873.

diffstat:

 graphics/p5-GD/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 0ac8d8b8afa3 -r fdc397db03ef graphics/p5-GD/Makefile
--- a/graphics/p5-GD/Makefile   Thu Jul 04 04:33:08 2013 +0000
+++ b/graphics/p5-GD/Makefile   Thu Jul 04 05:38:55 2013 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.60 2013/06/04 22:16:24 tron Exp $
+# $NetBSD: Makefile,v 1.61 2013/07/04 05:38:55 dholland Exp $
 
 DISTNAME=      GD-2.46
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   9
+PKGREVISION=   10
 SVR4_PKGNAME=  p5bd
 CATEGORIES=    graphics perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=GD/}
@@ -20,6 +20,10 @@
 
 USE_LANGUAGES=         c
 
+# This is required at least on some Solaris builds to get a runnable
+# package, and should be harmless on other platforms. See PR 45873.
+CFLAGS+=               -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
 PERL5_PACKLIST=                auto/GD/.packlist
 PERL5_OPTIONS+=                threads
 



Home | Main Index | Thread Index | Old Index