From: Martin Banky <martin.banky@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 21/21] BugFix - m4 - Fixed Missing wint_t typedef When There Is No WChar Support
Date: Sat, 18 Sep 2010 19:53:43 -0700 [thread overview]
Message-ID: <1284864823-18993-22-git-send-email-Martin.Banky@gmail.com> (raw)
In-Reply-To: <1284864823-18993-1-git-send-email-Martin.Banky@gmail.com>
When uClibc is configured without wchar support, wint_t does not get defined.
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
---
package/m4/m4-1.4.9-002-no-wchar.patch | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 package/m4/m4-1.4.9-002-no-wchar.patch
diff --git a/package/m4/m4-1.4.9-002-no-wchar.patch b/package/m4/m4-1.4.9-002-no-wchar.patch
new file mode 100644
index 0000000..7b67295
--- /dev/null
+++ b/package/m4/m4-1.4.9-002-no-wchar.patch
@@ -0,0 +1,24 @@
+--- m4-1.4.9/lib/printf-args-orig.h 2007-03-23 05:50:53.000000000 -0700
++++ m4-1.4.9/lib/printf-args.h 2010-09-18 19:09:21.000000000 -0700
+@@ -29,6 +29,9 @@
+ /* Get wint_t. */
+ #if HAVE_WINT_T
+ # include <wchar.h>
++# ifndef __UCLIBC_HAS_WCHAR__
++typedef int wint_t;
++# endif
+ #endif
+
+ /* Get va_list. */
+--- m4-1.4.9/lib/wctype_-orig.h 2010-09-18 19:13:07.000000000 -0700
++++ m4-1.4.9/lib/wctype_.h 2010-09-18 19:09:21.000000000 -0700
+@@ -39,6 +39,9 @@
+ # include <stdio.h>
+ # include <time.h>
+ # include <wchar.h>
++# ifndef __UCLIBC_HAS_WCHAR__
++typedef int wint_t;
++# endif
+ typedef wint_t __wctype_wint_t;
+ #else
+ typedef int __wctype_wint_t;
--
1.7.2.3
next prev parent reply other threads:[~2010-09-19 2:53 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-19 2:53 [Buildroot] [PATCH 00/21] Resend package updates patch set Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 01/21] alsa-lib: bump to 1.0.23 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 02/21] alsa-utils: " Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 03/21] autoconf: bump to 2.67 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 04/21] automake: bump to 1.11.1 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 05/21] bison: bump to 2.4.3 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 06/21] ccache: bump to 3.0.1 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 07/21] fakeroot: bump to 1.14.4 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 08/21] genext2fs: bump to 1.4.1 Martin Banky
2010-10-06 11:39 ` Peter Korsgaard
2010-09-19 2:53 ` [Buildroot] [PATCH 09/21] gmp: bump to 5.0.1 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 10/21] libdeamon: bump to 0.14 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 12/21] libogg: bump to 1.2.0 Martin Banky
2010-11-05 17:00 ` Thomas Petazzoni
2010-09-19 2:53 ` [Buildroot] [PATCH 13/21] libvorbis: bump to 1.3.1 Martin Banky
2010-11-05 17:01 ` Thomas Petazzoni
2010-09-19 2:53 ` [Buildroot] [PATCH 14/21] make: bump to 3.82 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 15/21] module-init-tools: bump to 3.12 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 16/21] mpfr: bump to 3.0.0 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 17/21] nano: bump to 2.2.5 Martin Banky
2010-10-06 11:34 ` Peter Korsgaard
2010-09-19 2:53 ` [Buildroot] [PATCH 18/21] ntp: convert to autotargets and bump to 4.2.6p2 Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 19/21] openssl: bump to 1.0.0a Martin Banky
2010-09-19 10:05 ` Marcus Osdoba
2010-09-19 16:51 ` Martin Banky
2010-09-21 23:04 ` Martin Banky
2010-10-08 19:43 ` Marcus Osdoba
2010-09-19 2:53 ` [Buildroot] [PATCH 20/21] BugFix - Bison - Fixed Missing stddef.h Include In wchar.h Martin Banky
2010-09-19 2:53 ` Martin Banky [this message]
2010-09-19 9:58 ` [Buildroot] [PATCH 21/21] BugFix - m4 - Fixed Missing wint_t typedef When There Is No WChar Support Marcus Osdoba
2010-09-19 17:05 ` Martin Banky
2010-09-19 2:55 ` [Buildroot] [PATCH 11/21] libelf: bump to 0.8.13 Martin Banky
2010-11-05 16:13 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2010-09-14 3:40 [Buildroot] [PATCH 01/21] alsa-lib: bump to 1.0.23 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 21/21] BugFix - m4 - Fixed Missing wint_t typedef When There Is No WChar Support Martin Banky
2010-09-19 20:45 ` Peter Korsgaard
2010-09-20 0:37 ` Martin Banky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1284864823-18993-22-git-send-email-Martin.Banky@gmail.com \
--to=martin.banky@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox