From dec2f583516bb4b342e8881a5ee5c1bd262dcb12 Mon Sep 17 00:00:00 2001 From: nonamedotc Date: Sat, 7 Jun 2014 21:55:39 -0500 Subject: [PATCH] Fixed patches used in the previous build - Fixes bug #1105767 --- sundials-cvode.patch | 11 +++++++++++ sundials-cvodes.patch | 11 +++++++++++ sundials-ida.patch | 11 +++++++++++ sundials-idas.patch | 11 +++++++++++ sundials-kinsol.patch | 11 +++++++++++ 5 files changed, 55 insertions(+) create mode 100644 sundials-cvode.patch create mode 100644 sundials-cvodes.patch create mode 100644 sundials-ida.patch create mode 100644 sundials-idas.patch create mode 100644 sundials-kinsol.patch diff --git a/sundials-cvode.patch b/sundials-cvode.patch new file mode 100644 index 0000000..3fd9ef6 --- /dev/null +++ b/sundials-cvode.patch @@ -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 + diff --git a/sundials-cvodes.patch b/sundials-cvodes.patch new file mode 100644 index 0000000..93a1665 --- /dev/null +++ b/sundials-cvodes.patch @@ -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 + diff --git a/sundials-ida.patch b/sundials-ida.patch new file mode 100644 index 0000000..864d391 --- /dev/null +++ b/sundials-ida.patch @@ -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 + diff --git a/sundials-idas.patch b/sundials-idas.patch new file mode 100644 index 0000000..11c9391 --- /dev/null +++ b/sundials-idas.patch @@ -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 + diff --git a/sundials-kinsol.patch b/sundials-kinsol.patch new file mode 100644 index 0000000..e2673de --- /dev/null +++ b/sundials-kinsol.patch @@ -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 +