summaryrefslogtreecommitdiff
path: root/devel/gdb/files/patch-gdb_gdb__wchar.h
diff options
context:
space:
mode:
authorLuca Pizzamiglio <pizzamig@FreeBSD.org>2017-09-29 14:49:58 +0000
committerLuca Pizzamiglio <pizzamig@FreeBSD.org>2017-09-29 14:49:58 +0000
commitda0888d129352e814319d3bd80eba5e616c94c66 (patch)
tree7021557a285e972dcb234185a79c0e878643d4d7 /devel/gdb/files/patch-gdb_gdb__wchar.h
parentbenchmarks/unixbench: Fix the new path in the unixbench (diff)
devel/gdb: Update to gdb 8.0.1
Resolve tons of warnings. Fix the type of literal string as char const * Fix Makefile's variables order and adding the license file Rework patches to make portlint happy Reviewed by: jhb Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D12525
Notes
Notes: svn path=/head/; revision=450895
Diffstat (limited to 'devel/gdb/files/patch-gdb_gdb__wchar.h')
-rw-r--r--devel/gdb/files/patch-gdb_gdb__wchar.h20
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..16a587380596
--- /dev/null
+++ b/devel/gdb/files/patch-gdb_gdb__wchar.h
@@ -0,0 +1,20 @@
+--- gdb/gdb_wchar.h.orig 2017-09-14 09:28:17 UTC
++++ gdb/gdb_wchar.h
+@@ -59,7 +59,7 @@
+ iconvlist. */
+ #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))
+
+ 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);
+
+-#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