Fixed patches used in the previous build

- Fixes bug #1105767
This commit is contained in:
nonamedotc 2014-06-07 21:55:39 -05:00
parent 55e43fc8f9
commit dec2f58351
5 changed files with 55 additions and 0 deletions

11
sundials-cvode.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/cvode/cvode.c 2012-04-11 19:31:13.000000000 -0500
+++ src/cvode/cvode.c.fix 2014-05-21 21:19:55.296755987 -0500
@@ -4136,7 +4136,7 @@
#ifndef NO_FPRINTF_OUTPUT
fprintf(stderr, "\n[%s ERROR] %s\n ", module, fname);
- fprintf(stderr, msgfmt);
+ fprintf(stderr, msgfmt,ap);
fprintf(stderr, "\n\n");
#endif

11
sundials-cvodes.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/cvodes/cvodes.c 2012-04-11 19:31:36.000000000 -0500
+++ src/cvodes/cvodes.c.fix 2014-05-21 21:23:10.359954662 -0500
@@ -8958,7 +8958,7 @@
#ifndef NO_FPRINTF_OUTPUT
fprintf(stderr, "\n[%s ERROR] %s\n ", module, fname);
- fprintf(stderr, msg);
+ fprintf(stderr, "%s", msg);
fprintf(stderr, "\n\n");
#endif

11
sundials-ida.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/ida/ida.c 2012-04-11 19:32:13.000000000 -0500
+++ src/ida/ida.c.fix 2014-05-21 21:24:07.269720688 -0500
@@ -3378,7 +3378,7 @@
#ifndef NO_FPRINTF_OUTPUT
fprintf(stderr, "\n[%s ERROR] %s\n ", module, fname);
- fprintf(stderr, msgfmt);
+ fprintf(stderr, msgfmt,ap);
fprintf(stderr, "\n\n");
#endif

11
sundials-idas.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/idas/idas.c 2012-04-11 19:32:34.000000000 -0500
+++ src/idas/idas.c.fix 2014-05-21 21:24:14.934689168 -0500
@@ -7179,7 +7179,7 @@
#ifndef NO_FPRINTF_OUTPUT
fprintf(stderr, "\n[%s ERROR] %s\n ", module, fname);
- fprintf(stderr, msgfmt);
+ fprintf(stderr, msgfmt,ap);
fprintf(stderr, "\n\n");
#endif

11
sundials-kinsol.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/kinsol/kinsol.c.orig 2014-06-07 21:24:30.784468320 -0500
+++ src/kinsol/kinsol.c 2014-06-07 21:25:26.659689495 -0500
@@ -1876,7 +1876,7 @@
#ifndef NO_FPRINTF_OUTPUT
fprintf(stderr, "\n[%s ERROR] %s\n ", module, fname);
- fprintf(stderr, msgfmt);
+ vfprintf(stderr, msgfmt,ap);
fprintf(stderr, "\n\n");
#endif