On Tue, 11 Nov 2014 23:45:02 +0900, Masao Uebayashi wrote:
> gdb-7.8p0 doesn't run because /usr/local/bin/gdb has a wrong "strcmp" 
> instance,
> jmp'ing itself, and makes the binary just spin.  I've not looked closer at
> headers and defines, but at least this change makes gdb display prompt.

This has already been fixed, but apparently chrisz@ forgot to bump
REVISION.

I'll commit an update to 7.8.1 soon, so that should pick up the patch.

> diff --git a/devel/gdb/patches/patch-libiberty_filename_cmp_c 
> b/devel/gdb/patches/patch-libiberty_filename_cmp_c
> new file mode 100644
> index 0000000..3a0d92f
> --- /dev/null
> +++ b/devel/gdb/patches/patch-libiberty_filename_cmp_c
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +--- libiberty/filename_cmp.c.orig    Tue Nov 11 23:28:46 2014
> ++++ libiberty/filename_cmp.c Tue Nov 11 23:26:23 2014
> +@@ -27,6 +27,10 @@
> + #include "filenames.h"
> + #include "safe-ctype.h"
> + 
> ++#undef      filename_cmp
> ++#undef      FILENAME_CMP
> ++#undef      filename_ncmp
> ++
> + /*
> + 
> + @deftypefn Extension int filename_cmp (const char *@var{s1}, const char 
> *@var{s2})
> 
> 

Reply via email to