diff options
Diffstat (limited to 'devel/gdb/files/patch-gdb-gdb_wchar.h')
-rw-r--r-- | devel/gdb/files/patch-gdb-gdb_wchar.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/devel/gdb/files/patch-gdb-gdb_wchar.h b/devel/gdb/files/patch-gdb-gdb_wchar.h index f70be80281e5..0123294af917 100644 --- a/devel/gdb/files/patch-gdb-gdb_wchar.h +++ b/devel/gdb/files/patch-gdb-gdb_wchar.h @@ -1,15 +1,17 @@ ---- 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 @@ +diff --git gdb/gdb_wchar.h gdb/gdb_wchar.h +index 868fe04..1311080 100644 +--- gdb/gdb_wchar.h ++++ gdb/gdb_wchar.h +@@ -59,7 +59,7 @@ iconvlist. */ - #if defined (HAVE_ICONV) && defined (HAVE_WCHAR_H) && defined (HAVE_BTOWC) \ + #if defined (HAVE_ICONV) && 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 @@ + typedef wchar_t gdb_wchar_t; + typedef wint_t gdb_wint_t; +@@ -82,7 +82,7 @@ typedef wint_t gdb_wint_t; #define INTERMEDIATE_ENCODING intermediate_encoding () const char *intermediate_encoding (void); |