-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add the make-linebuf-mingw.patch & add readme file patched descriptions
- Loading branch information
niXman
committed
Oct 7, 2012
1 parent
82bb81f
commit e2fdd1b
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
- gcc-4.6-cloog_lang_c.patch | ||
... | ||
|
||
- gcc-4.6-iconv.patch | ||
... | ||
|
||
- gcc-4.6-stdthreads.patch | ||
... | ||
|
||
- gcc-4.7-iconv.patch | ||
... | ||
|
||
- gcc-4.7-stdthreads.patch | ||
... | ||
|
||
- gcc-4.8-iconv.patch | ||
... | ||
|
||
- make-linebuf-mingw.patch | ||
From Jonathan Liu ([email protected]) | ||
The difference is that build_w32.bat doesn't define HAVE_LOCALE_H. | ||
The mingw-builds make uses the configure script which sets HAVE_LOCALE_H to 1. | ||
If HAVE_LOCALE_H is set to 1, setlocale(LC_ALL, "") is called in main.cpp | ||
and this prevents line buffering from working properly for some reason. | ||
|
||
- make-remove-double-quote.patch | ||
From Jonathan Liu ([email protected]) | ||
Read this: http://lists.gnu.org/archive/html/make-w32/2012-05/msg00000.html | ||
and this: http://lists.gnu.org/archive/html/make-w32/2012-09/msg00000.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- make.orig/main.c | ||
+++ make/main.c | ||
@@ -971,8 +971,11 @@ | ||
|
||
#endif | ||
|
||
+/* setlocale interferes with line buffering if using parallel make on MinGW */ | ||
+#ifndef __MINGW32__ | ||
/* Set up gettext/internationalization support. */ | ||
setlocale (LC_ALL, ""); | ||
+#endif | ||
/* The cast to void shuts up compiler warnings on systems that | ||
disable NLS. */ | ||
(void)bindtextdomain (PACKAGE, LOCALEDIR); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters