diff options
Diffstat (limited to 'packages/gdb/6.8a/150-handle-stpcpy-define.patch')
-rw-r--r-- | packages/gdb/6.8a/150-handle-stpcpy-define.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gdb/6.8a/150-handle-stpcpy-define.patch b/packages/gdb/6.8a/150-handle-stpcpy-define.patch new file mode 100644 index 0000000..88d703f --- /dev/null +++ b/packages/gdb/6.8a/150-handle-stpcpy-define.patch @@ -0,0 +1,12 @@ +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 + |