[packages/sundials] - missing patches

qboosh qboosh at pld-linux.org
Fri Jan 20 06:37:52 CET 2023


commit 4ee63cd987021b155ffa1d22c971f97d19bdf08d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jan 20 06:38:45 2023 +0100

    - missing patches

 sundials-ac.patch     | 12 ++++++++++++
 sundials-format.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
---
diff --git a/sundials-ac.patch b/sundials-ac.patch
new file mode 100644
index 0000000..dcee414
--- /dev/null
+++ b/sundials-ac.patch
@@ -0,0 +1,12 @@
+--- sundials-2.3.0/config/cust_general.m4.orig	2006-11-07 00:18:35.000000000 +0100
++++ sundials-2.3.0/config/cust_general.m4	2023-01-17 06:27:45.147214910 +0100
+@@ -78,7 +78,8 @@ AS_IF([_AC_EVAL_STDERR($ac_linkonly) &&
+ 	 AC_TRY_COMMAND([test -s conftest$ac_exeext])],
+       [$2],
+       [_AC_MSG_LOG_CONFTEST_GENERAL
+-m4_ifvaln([$3], [$3])dnl])[]dnl
++m4_ifvaln([$3], [$3])dnl
++])
+ rm -f conftest.err conftest.$ac_objext \
+       conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
+ ])# _AC_LINKONLY_IFELSE
diff --git a/sundials-format.patch b/sundials-format.patch
new file mode 100644
index 0000000..00644b2
--- /dev/null
+++ b/sundials-format.patch
@@ -0,0 +1,44 @@
+--- sundials-2.3.0/src/cvode/cvode.c.orig	2006-11-07 00:18:34.000000000 +0100
++++ sundials-2.3.0/src/cvode/cvode.c	2023-01-17 17:08:18.237375520 +0100
+@@ -4034,7 +4034,7 @@ void CVProcessError(CVodeMem cv_mem,
+ 
+ #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
+ 
+--- sundials-2.3.0/src/cvodes/cvodes.c.orig	2006-11-07 00:18:34.000000000 +0100
++++ sundials-2.3.0/src/cvodes/cvodes.c	2023-01-17 17:08:55.410518470 +0100
+@@ -7185,7 +7185,7 @@ void CVProcessError(CVodeMem cv_mem,
+ 
+ #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
+ 
+--- sundials-2.3.0/src/ida/ida.c.orig	2006-11-07 00:18:34.000000000 +0100
++++ sundials-2.3.0/src/ida/ida.c	2023-01-17 17:09:29.833645317 +0100
+@@ -3152,7 +3152,7 @@ void IDAProcessError(IDAMem IDA_mem,
+ 
+ #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
+ 
+--- sundials-2.3.0/src/kinsol/kinsol.c.orig	2006-11-07 00:18:34.000000000 +0100
++++ sundials-2.3.0/src/kinsol/kinsol.c	2023-01-17 17:09:50.793551767 +0100
+@@ -1858,7 +1858,7 @@ void KINProcessError(KINMem kin_mem,
+ 
+ #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
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sundials.git/commitdiff/4ee63cd987021b155ffa1d22c971f97d19bdf08d



More information about the pld-cvs-commit mailing list