crosstool-ng/patches/gdb/6.8a/150-handle-stpcpy-define.patch
Yann E. MORIN" 76b124a4d6 debug/gdb: rename patch directories
Missed renaming the patch directories after the version renames... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11 18:28:45 +02:00

13 lines
369 B
Diff

diff -ru gdb-6.8.orig/bfd/sysdep.h gdb-6.8/bfd/sysdep.h
--- gdb-6.8.orig/bfd/sysdep.h 2007-07-03 16:26:42.000000000 +0200
+++ gdb-6.8/bfd/sysdep.h 2011-08-21 13:33:47.000000000 +0200
@@ -131,7 +131,7 @@
extern PTR realloc ();
#endif
-#if !HAVE_DECL_STPCPY
+#if !HAVE_DECL_STPCPY && !defined(stpcpy)
extern char *stpcpy (char *__dest, const char *__src);
#endif