aboutsummaryrefslogtreecommitdiffstats
path: root/main/vlc/stdarg.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-22 09:02:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-22 09:02:11 +0000
commit1d83d23062f33906485eed4f755b69d1de580768 (patch)
tree8f5feac072dc1971c86df699511fc0bc0b02a003 /main/vlc/stdarg.patch
parent9c3d51ed7510d8ba50ca2c96001499626dd8c6c2 (diff)
downloadaports-1d83d23062f33906485eed4f755b69d1de580768.tar.bz2
aports-1d83d23062f33906485eed4f755b69d1de580768.tar.xz
main/vlc: upgrade to 2.0.1
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)