Module Name:    src
Committed By:   jmcneill
Date:           Thu Nov 20 02:00:20 UTC 2014

Modified Files:
        src/external/mit/xorg/lib/libXft: Makefile

Log Message:
compile xftrender.c to workaround a crash in XftGlyphSpecRender on earm with 
gcc 4.8.4


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/libXft/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXft/Makefile
diff -u src/external/mit/xorg/lib/libXft/Makefile:1.5 src/external/mit/xorg/lib/libXft/Makefile:1.6
--- src/external/mit/xorg/lib/libXft/Makefile:1.5	Thu Nov  6 22:28:26 2008
+++ src/external/mit/xorg/lib/libXft/Makefile	Thu Nov 20 02:00:19 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2008/11/06 22:28:26 veego Exp $
+#	$NetBSD: Makefile,v 1.6 2014/11/20 02:00:19 jmcneill Exp $
 
 .include <bsd.own.mk>
 
@@ -20,6 +20,11 @@ CPPFLAGS+=	${X11FLAGS.THREADLIB}
 CPPFLAGS+=	-DFREETYPE2 -I${DESTDIR}${X11INCDIR}/freetype2 -DXFREE86_FT2
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/Xft
 
+.if !empty(MACHINE_ARCH:Mearm*)
+# Workaround a crash in XftGlyphSpecRender with GCC 4.8.4
+COPTS.xftrender.c+= -O0
+.endif
+
 LIBDPLIBS=	X11		${.CURDIR}/../libX11/dynamic \
 		fontconfig	${.CURDIR}/../fontconfig/src \
 		freetype	${.CURDIR}/../freetype \

Reply via email to