diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-06-10 11:39:29 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-06-10 11:39:29 +0000 |
| commit | ee9844c8f2818e8f0e08143f962cf9fd5f6d380b (patch) | |
| tree | c5367eae06e0e1a59075ffd9fdc614eb3e1d5bd0 /devel/gdb/files/patch-gdb-gdb_wchar.h | |
| parent | Make it buildable on recent 10.0-STABLE and later. (diff) | |
- Update to version 7.7.1.
- Fix a problem on FreeBSD 10+ with converters/libiconv installed. GDB
could not print string variables then.
PR: 190700
Submitted by: luca.pizzamiglio@gmail.com (maintainer)
Notes
Notes:
svn path=/head/; revision=357297
Diffstat (limited to 'devel/gdb/files/patch-gdb-gdb_wchar.h')
| -rw-r--r-- | devel/gdb/files/patch-gdb-gdb_wchar.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-gdb-gdb_wchar.h b/devel/gdb/files/patch-gdb-gdb_wchar.h new file mode 100644 index 000000000000..f70be80281e5 --- /dev/null +++ b/devel/gdb/files/patch-gdb-gdb_wchar.h @@ -0,0 +1,20 @@ +--- gdb/gdb_wchar.h.orig 2014-06-05 10:44:18.914279516 +0200 ++++ gdb/gdb_wchar.h 2014-06-05 10:46:07.264279306 +0200 +@@ -56,7 +56,7 @@ + iconvlist. */ + #if defined (HAVE_ICONV) && defined (HAVE_WCHAR_H) && defined (HAVE_BTOWC) \ + && (defined (__STDC_ISO_10646__) \ +- || (defined (_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x108)) ++ || (!defined (LIBICONV_PLUG) && defined (_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x108)) + + #include <wchar.h> + #include <wctype.h> +@@ -82,7 +82,7 @@ + #define INTERMEDIATE_ENCODING intermediate_encoding () + const char *intermediate_encoding (void); + +-#elif defined (_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x108 ++#elif !defined (LIBICONV_PLUG) && defined (_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x108 + #define INTERMEDIATE_ENCODING "wchar_t" + #else + /* This shouldn't happen, because the earlier #if should have filtered |
