summaryrefslogtreecommitdiff
path: root/packages/gdb/7.4.1/0001-all_readline-headers.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-09-21 07:35:27 (GMT)
committerGitHub <noreply@github.com>2021-09-21 07:35:27 (GMT)
commit02d1503f6769be4ad8058b393d4245febced459f (patch)
tree7ed5bd7fb084879f1750b3ad378c404b9e6a9997 /packages/gdb/7.4.1/0001-all_readline-headers.patch
parent5f5a22f7a7307790ec571d0c5acf8790416964e6 (diff)
parent68088f65c66790c1a5920e67e7e34d9f77e5a20f (diff)
Merge pull request #1599 from cpackham/gdb
Gdb update and cleanup
Diffstat (limited to 'packages/gdb/7.4.1/0001-all_readline-headers.patch')
-rw-r--r--packages/gdb/7.4.1/0001-all_readline-headers.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/packages/gdb/7.4.1/0001-all_readline-headers.patch b/packages/gdb/7.4.1/0001-all_readline-headers.patch
deleted file mode 100644
index 4aa0572..0000000
--- a/packages/gdb/7.4.1/0001-all_readline-headers.patch
+++ /dev/null
@@ -1,48 +0,0 @@
----
- readline/complete.c | 5 +++++
- readline/display.c | 5 +++++
- readline/mbutil.c | 5 +++++
- 3 files changed, 15 insertions(+)
-
---- a/readline/complete.c
-+++ b/readline/complete.c
-@@ -25,6 +25,11 @@
- # include <config.h>
- #endif
-
-+#ifdef HAVE_WCHAR_H /* wcwidth() */
-+# define _GNU_SOURCE
-+# include <wchar.h>
-+#endif
-+
- #include <sys/types.h>
- #include <fcntl.h>
- #if defined (HAVE_SYS_FILE_H)
---- a/readline/display.c
-+++ b/readline/display.c
-@@ -25,6 +25,11 @@
- # include <config.h>
- #endif
-
-+#ifdef HAVE_WCHAR_H /* wcwidth() */
-+# define _GNU_SOURCE
-+# include <wchar.h>
-+#endif
-+
- #include <sys/types.h>
-
- #if defined (HAVE_UNISTD_H)
---- a/readline/mbutil.c
-+++ b/readline/mbutil.c
-@@ -25,6 +25,11 @@
- # include <config.h>
- #endif
-
-+#ifdef HAVE_WCHAR_H /* wcwidth() */
-+# define _GNU_SOURCE
-+# include <wchar.h>
-+#endif
-+
- #include <sys/types.h>
- #include <fcntl.h>
- #include "posixjmp.h"