1.1 --- a/patches/gdb/6.8/150-handle-stpcpy-define.patch Sun Sep 11 01:03:43 2011 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,12 +0,0 @@
1.4 -diff -ru gdb-6.8.orig/bfd/sysdep.h gdb-6.8/bfd/sysdep.h
1.5 ---- gdb-6.8.orig/bfd/sysdep.h 2007-07-03 16:26:42.000000000 +0200
1.6 -+++ gdb-6.8/bfd/sysdep.h 2011-08-21 13:33:47.000000000 +0200
1.7 -@@ -131,7 +131,7 @@
1.8 - extern PTR realloc ();
1.9 - #endif
1.10 -
1.11 --#if !HAVE_DECL_STPCPY
1.12 -+#if !HAVE_DECL_STPCPY && !defined(stpcpy)
1.13 - extern char *stpcpy (char *__dest, const char *__src);
1.14 - #endif
1.15 -