summaryrefslogtreecommitdiff
path: root/user/vlc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-02 23:08:04 -0500
committerZach van Rijn <me@zv.io>2024-08-04 00:26:05 +0000
commit8701907b5a13903067e826d24d0e649a58276f68 (patch)
tree3cb9d444063157d797262c994ecb507c207aed6f /user/vlc/APKBUILD
parent17c3d6aa762a4d49fe73703afea034e5beacc0c6 (diff)
downloadpackages-8701907b5a13903067e826d24d0e649a58276f68.tar.gz
packages-8701907b5a13903067e826d24d0e649a58276f68.tar.bz2
packages-8701907b5a13903067e826d24d0e649a58276f68.tar.xz
packages-8701907b5a13903067e826d24d0e649a58276f68.zip
user/vlc: Disable AltiVec on 32-bit PowerPC
VLC was automatically enabling AltiVec on 32-bit PPC builds despite not requesting it on the ./configure line. This wasn't evident until GCC 13 enforced the AltiVec ABI switch for vec_* primitive calls. Closes: #1059, #1237
Diffstat (limited to 'user/vlc/APKBUILD')
-rw-r--r--user/vlc/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/vlc/APKBUILD b/user/vlc/APKBUILD
index edd6a5f91..8085ebcb5 100644
--- a/user/vlc/APKBUILD
+++ b/user/vlc/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=vlc
pkgver=3.0.17.3
-pkgrel=1
+pkgrel=2
pkgdesc="Multi-platform MPEG, VCD/DVD, and DivX player"
triggers="vlc-libs.trigger=/usr/lib/vlc/plugins"
pkgusers="vlc"
@@ -79,6 +79,7 @@ build() {
arm*) _arch_opts="--enable-omxil --enable-omxil-vout --enable-rpi-omxil" ;;
aarch64) _arch_opts="--enable-neon" ;;
ppc64*) _arch_opts="--enable-altivec" ;;
+ ppc) _arch_opts="--disable-altivec" ;;
x86* | pmmx) _arch_opts="--disable-mmx --disable-sse" ;;
esac