Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gdb/7.5.1: 05_all_readline-headers.patch README.history
Date: Thu, 29 Nov 2012 18:14:26
Message-Id: 20121129181414.B9FC820C65@flycatcher.gentoo.org
1 vapier 12/11/29 18:14:14
2
3 Added: 05_all_readline-headers.patch README.history
4 Log:
5 initial 7.5.1 patchset based on last 7.5 patchset
6
7 Revision Changes Path
8 1.1 src/patchsets/gdb/7.5.1/05_all_readline-headers.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.5.1/05_all_readline-headers.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.5.1/05_all_readline-headers.patch?rev=1.1&content-type=text/plain
12
13 Index: 05_all_readline-headers.patch
14 ===================================================================
15 --- a/readline/complete.c
16 +++ b/readline/complete.c
17 @@ -25,6 +25,11 @@
18 # include <config.h>
19 #endif
20
21 +#ifdef HAVE_WCHAR_H /* wcwidth() */
22 +# define _GNU_SOURCE
23 +# include <wchar.h>
24 +#endif
25 +
26 #include <sys/types.h>
27 #include <fcntl.h>
28 #if defined (HAVE_SYS_FILE_H)
29 --- a/readline/display.c
30 +++ b/readline/display.c
31 @@ -25,6 +25,11 @@
32 # include <config.h>
33 #endif
34
35 +#ifdef HAVE_WCHAR_H /* wcwidth() */
36 +# define _GNU_SOURCE
37 +# include <wchar.h>
38 +#endif
39 +
40 #include <sys/types.h>
41
42 #if defined (HAVE_UNISTD_H)
43 --- a/readline/mbutil.c
44 +++ b/readline/mbutil.c
45 @@ -25,6 +25,11 @@
46 # include <config.h>
47 #endif
48
49 +#ifdef HAVE_WCHAR_H /* wcwidth() */
50 +# define _GNU_SOURCE
51 +# include <wchar.h>
52 +#endif
53 +
54 #include <sys/types.h>
55 #include <fcntl.h>
56 #include "posixjmp.h"
57
58
59
60 1.1 src/patchsets/gdb/7.5.1/README.history
61
62 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.5.1/README.history?rev=1.1&view=markup
63 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.5.1/README.history?rev=1.1&content-type=text/plain
64
65 Index: README.history
66 ===================================================================
67 1 29 Nov 2012
68 + 05_all_readline-headers.patch