aboutsummaryrefslogtreecommitdiffstats
path: root/main/vlc/stdarg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/vlc/stdarg.patch')
-rw-r--r--main/vlc/stdarg.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/vlc/stdarg.patch b/main/vlc/stdarg.patch
new file mode 100644
index 0000000000..1416e55913
--- /dev/null
+++ b/main/vlc/stdarg.patch
@@ -0,0 +1,12 @@
+--- ./configure.ac.orig
++++ ./configure.ac
+@@ -529,7 +529,8 @@
+ c = NULL;
+ ])],[AC_DEFINE([HAVE_ASPRINTF],[1],[Define to 1 if you have asprintf function])],[AC_LIBOBJ([asprintf])])
+ AC_LINK_IFELSE([
+- AC_LANG_PROGRAM([#include <stdio.h>], [
++ AC_LANG_PROGRAM([#include <stdio.h>
++ #include <stdarg.h>], [
+ char *c;
+ va_list ap;
+ if (vasprintf(&c, "%s %d", ap) == -1)