summaryrefslogtreecommitdiff
path: root/patches/gdb/6.8a/150-handle-stpcpy-define.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-11 16:28:45 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-11 16:28:45 (GMT)
commit65da1e8e62fc4494d495b3312684df3b14de58af (patch)
tree0595dce388adedd8d97ac62e462e4c6e9fbb9ddd /patches/gdb/6.8a/150-handle-stpcpy-define.patch
parente2bea435438a78ad71165f5d03c506a6e57a969e (diff)
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> (transplanted from e7266674d492f0c056c79dc45a53b665199ba93c)
Diffstat (limited to 'patches/gdb/6.8a/150-handle-stpcpy-define.patch')
-rw-r--r--patches/gdb/6.8a/150-handle-stpcpy-define.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/gdb/6.8a/150-handle-stpcpy-define.patch b/patches/gdb/6.8a/150-handle-stpcpy-define.patch
new file mode 100644
index 0000000..88d703f
--- /dev/null
+++ b/patches/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
+