This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Titus von Boxberg <titus@v9g.de> # Date 1313926918 -7200 # Node ID b595540e1ff53f9336473755633a44e5c49c73c0 # Parent d23cf8712f52b626e3906f996b900107dc642e3d patches/gdb/6.8: correct compilation error when stpcpy is a define On OSX stpcpy is a define which is not recognized by gdb's configure. This results in a compilation error. Signed-off-by: "Titus von Boxberg" <titus@v9g.de> diff -r d23cf8712f52 -r b595540e1ff5 patches/gdb/6.8/150-handle-stpcpy-define.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/gdb/6.8/150-handle-stpcpy-define.patch Sun Aug 21 13:41:58 2011 +0200 @@ -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 + -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |