pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Apply patch from PR 25907 by Christ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a13abcce18a
branches: trunk
changeset: 476576:8a13abcce18a
user: cube <cube%pkgsrc.org@localhost>
date: Tue Jun 15 07:29:00 2004 +0000
description:
Apply patch from PR 25907 by Christopher Richards. This is probably the
best we can do until the code is actually fixed. Advised by mrg.
diffstat:
graphics/freetype2/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 33656a7cab8a -r 8a13abcce18a graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile Tue Jun 15 05:29:06 2004 +0000
+++ b/graphics/freetype2/Makefile Tue Jun 15 07:29:00 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2004/05/29 23:36:10 recht Exp $
+# $NetBSD: Makefile,v 1.34 2004/06/15 07:29:00 cube Exp $
#
DISTNAME= freetype-2.1.8
@@ -28,6 +28,7 @@
PKGCONFIG_OVERRIDE= builds/unix/freetype2.in
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
.if defined(MKTTINTERP) && \
!empty(MKTTINTERP:M[yY][eE][sS])
@@ -45,6 +46,14 @@
. endif
.endif
+# source code breaks strict aliasing in gcc >= 2.95
+.if !empty(CC_VERSION:Mgcc-*)
+. if empty(CC_VERSION:Mgcc-2.*) \
+ || !empty(CC_VERSION:Mgcc-2.95*)
+CFLAGS+= -fno-strict-aliasing
+. endif
+.endif
+
post-configure:
cd ${WRKSRC} && ${LN} -s builds/unix/unix.mk config.mk
.if ${OPSYS} == "IRIX"
Home |
Main Index |
Thread Index |
Old Index