Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin/texinfo/makeinfo Don't compile with fortificatio...



details:   https://anonhg.NetBSD.org/src/rev/9e7da00b393a
branches:  trunk
changeset: 794797:9e7da00b393a
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Mar 24 23:03:01 2014 +0000

description:
Don't compile with fortification. It breaks makeinfo(1) for certain
input files (e.g. "cl.texi" shipped with Emacs 23.4) if it is compiled
with GCC 4.8.3 and "USE_SSP" set to "yes".

diffstat:

 gnu/usr.bin/texinfo/makeinfo/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r beb30baf5679 -r 9e7da00b393a gnu/usr.bin/texinfo/makeinfo/Makefile
--- a/gnu/usr.bin/texinfo/makeinfo/Makefile     Mon Mar 24 22:39:06 2014 +0000
+++ b/gnu/usr.bin/texinfo/makeinfo/Makefile     Mon Mar 24 23:03:01 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2011/05/26 12:56:29 joerg Exp $
+#      $NetBSD: Makefile,v 1.8 2014/03/24 23:03:01 tron Exp $
 
 PROG=          makeinfo
 SRCS=          cmds.c defun.c files.c float.c footnote.c \
@@ -12,4 +12,6 @@
 
 .include <bsd.prog.mk>
 
+CPPFLAGS:=     ${CPPFLAGS:S/-D_FORTIFY_SOURCE=2//}
+
 .PATH: ${IDIST}/makeinfo ${IDIST}/doc



Home | Main Index | Thread Index | Old Index