summaryrefslogtreecommitdiffstats
path: root/main
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
parent9c3d51ed7510d8ba50ca2c96001499626dd8c6c2 (diff)
downloadaports-1d83d23062f33906485eed4f755b69d1de580768.tar.bz2
aports-1d83d23062f33906485eed4f755b69d1de580768.tar.xz
main/vlc: upgrade to 2.0.1
Diffstat (limited to 'main')
-rw-r--r--main/vlc/APKBUILD8
-rw-r--r--main/vlc/stdarg.patch12
2 files changed, 17 insertions, 3 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index bea5a92d3..30ab9d729 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
-pkgver=2.0.0
+pkgver=2.0.1
_pkgver=${pkgver/_/-}
-pkgrel=3
+pkgrel=0
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
pkgusers="vlc"
pkggroups="vlc"
@@ -74,6 +74,7 @@ source="http://download.videolan.org/pub/videolan/$pkgname/$_pkgver/$pkgname-$_p
uclibc-inhibit-spawn.patch
uclibc-no-xscreensaver.patch
uclibc3.patch
+ stdarg.patch
vlc.trigger
"
# uclibc-libcompat.patch
@@ -229,8 +230,9 @@ daemon() {
install -d -o vlc -g vlc "$subpkgdir"/var/log/vlc
}
-md5sums="8806bff2ea9c76791123d444a92f708c vlc-2.0.0.tar.xz
+md5sums="5ad114755670e4881a2b35354e2f79bc vlc-2.0.1.tar.xz
28349b8239fdd6987fbe0ca2c758517f uclibc-inhibit-spawn.patch
b84c5a9121440b6a1dcf28792d783eb8 uclibc-no-xscreensaver.patch
94f11ec8394775018222781a0c875444 uclibc3.patch
+cd33845fe2961acfca901f566129878f stdarg.patch
350b30698eb784def7d19446eb1d6c81 vlc.trigger"
diff --git a/main/vlc/stdarg.patch b/main/vlc/stdarg.patch
new file mode 100644
index 000000000..1416e5591
--- /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)