aboutsummaryrefslogtreecommitdiffstats
path: root/audio/arts/files/patch-flow-gsl-gslglib.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/arts/files/patch-flow-gsl-gslglib.c')
-rw-r--r--audio/arts/files/patch-flow-gsl-gslglib.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/arts/files/patch-flow-gsl-gslglib.c b/audio/arts/files/patch-flow-gsl-gslglib.c
new file mode 100644
index 00000000000..84cc769c994
--- /dev/null
+++ b/audio/arts/files/patch-flow-gsl-gslglib.c
@@ -0,0 +1,22 @@
+--- flow/gsl/gslglib.c.orig Wed May 7 13:50:15 2003
++++ flow/gsl/gslglib.c Wed Aug 20 03:06:26 2003
+@@ -44,6 +44,10 @@
+ va_list args1)
+ {
+ gchar *buffer;
++#ifdef HAVE_VASPRINTF
++ if (vasprintf (&buffer, format, args1) < 0)
++ buffer = NULL;
++#else
+ va_list args2;
+
+ G_VA_COPY (args2, args1);
+@@ -52,7 +56,7 @@
+
+ vsprintf (buffer, format, args2);
+ va_end (args2);
+-
++#endif
+ return buffer;
+ }
+ gchar *