Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/gettext/gettext-tools/lib Fix build problem caused ...



details:   https://anonhg.NetBSD.org/src/rev/b97b15dd5d3d
branches:  trunk
changeset: 791148:b97b15dd5d3d
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Nov 06 21:44:44 2013 +0000

description:
Fix build problem caused by definition of SSP version of stpcpy(3).

diffstat:

 gnu/dist/gettext/gettext-tools/lib/stpcpy.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r cc32f50a9afa -r b97b15dd5d3d gnu/dist/gettext/gettext-tools/lib/stpcpy.h
--- a/gnu/dist/gettext/gettext-tools/lib/stpcpy.h       Wed Nov 06 21:33:12 2013 +0000
+++ b/gnu/dist/gettext/gettext-tools/lib/stpcpy.h       Wed Nov 06 21:44:44 2013 +0000
@@ -29,6 +29,10 @@
 extern "C" {
 #endif
 
+#ifdef _FORTIFY_SOURCE
+#undef stpcpy
+#endif
+
 /* Copy SRC to DST, returning the address of the terminating '\0' in DST.  */
 extern char *stpcpy (char *dst, const char *src);
 



Home | Main Index | Thread Index | Old Index