Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/libXft compile xftrender.c to workarou...



details:   https://anonhg.NetBSD.org/src/rev/dc7ebb07606d
branches:  trunk
changeset: 804006:dc7ebb07606d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Nov 20 02:00:19 2014 +0000

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

diffstat:

 external/mit/xorg/lib/libXft/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 7c7ad5c745a8 -r dc7ebb07606d external/mit/xorg/lib/libXft/Makefile
--- a/external/mit/xorg/lib/libXft/Makefile     Thu Nov 20 01:30:52 2014 +0000
+++ b/external/mit/xorg/lib/libXft/Makefile     Thu Nov 20 02:00:19 2014 +0000
@@ -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+=     -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 \



Home | Main Index | Thread Index | Old Index