summaryrefslogtreecommitdiff
path: root/packages/gdb/6.8a/0005-handle-stpcpy-define.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 20:44:39 (GMT)
committerAlexey Neyman <stilor@att.net>2017-12-02 20:44:39 (GMT)
commit98bc4decdeab1361bdc585c86591718fb08c8ffb (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/gdb/6.8a/0005-handle-stpcpy-define.patch
parent2a1935f3ad41d360dd3d96a1b0486083293651dd (diff)
Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gdb/6.8a/0005-handle-stpcpy-define.patch')
-rw-r--r--packages/gdb/6.8a/0005-handle-stpcpy-define.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gdb/6.8a/0005-handle-stpcpy-define.patch b/packages/gdb/6.8a/0005-handle-stpcpy-define.patch
new file mode 100644
index 0000000..11142e2
--- /dev/null
+++ b/packages/gdb/6.8a/0005-handle-stpcpy-define.patch
@@ -0,0 +1,15 @@
+---
+ bfd/sysdep.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/bfd/sysdep.h
++++ b/bfd/sysdep.h
+@@ -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
+