Skip to content

Commit

Permalink
Add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS per PR 45873.
Browse files Browse the repository at this point in the history
  • Loading branch information
dholland committed Jul 4, 2013
1 parent 7efab07 commit 42abf26
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions graphics/p5-GD/Makefile
Original file line number Diff line number Diff line change
@@ -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/}
Expand All @@ -20,6 +20,10 @@ REPLACE_PERL= qd.pl

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

Expand Down

0 comments on commit 42abf26

Please sign in to comment.