Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nexces/be19ee194cc682a220e7 to your computer and use it in GitHub Desktop.
Save nexces/be19ee194cc682a220e7 to your computer and use it in GitHub Desktop.
[PATCH] vlc: Fix for vlc-cache-gen segmentation faults
From 2a4975bdba9e618bc84a6a85df874fe604cdb648 Mon Sep 17 00:00:00 2001
From: Adrian Piotrowicz <nexces+chakraos@nxstudio.pl>
Date: Sun, 20 Dec 2015 14:01:48 +0100
Subject: [PATCH] vlc: Fix for vlc-cache-gen segmentation faults
---
vlc/PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc/PKGBUILD b/vlc/PKGBUILD
index f16f62e..963684c 100644
--- a/vlc/PKGBUILD
+++ b/vlc/PKGBUILD
@@ -86,7 +86,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver/.a}"
- make DESTDIR="${pkgdir}" install
+ LD_PRELOAD=/usr/lib/libgobject-2.0.so.0 make DESTDIR="${pkgdir}" install
for res in 16 32 48 128; do
install -D -m644 "${srcdir}/vlc-${pkgver/.a}/share/icons/${res}x${res}/vlc.png" \
--
2.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment