git » vlc.git » commit c602be5

(libplacebo rebuild)

author Levente Polyak
2018-11-15 01:03:12 UTC
committer Levente Polyak
2018-11-15 01:03:12 UTC
parent 65059a683e77554600f0c23e2b07347aa74403ab

(libplacebo rebuild)

PKGBUILD +3 -1

diff --git a/PKGBUILD b/PKGBUILD
index bc381da..19a1bd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ _vlcver=3.0.4
 # optional fixup version including hyphen
 _vlcfixupver=
 pkgver=${_vlcver}${_vlcfixupver//-/.r}
-pkgrel=6
+pkgrel=7
 pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player'
 url='https://www.videolan.org/vlc/'
 arch=('x86_64')
@@ -117,6 +117,8 @@ prepare() {
     msg2 "Applying patch $src..."
     patch -Np1 < "../$src"
   done
+  # libplacebo 0.6 API
+  sed 's|pl_shader_alloc(tc->pl_ctx, NULL, 0, 0);|pl_shader_alloc(tc->pl_ctx, NULL, 0);|' -i modules/video_output/opengl/vout_helper.c
 }
 
 build() {