From 5db76d4e292592e48c6cdfb1bc0bad3ed694c193 Mon Sep 17 00:00:00 2001 From: Cryolitia PukNgae Date: Thu, 10 Oct 2024 22:53:40 +0800 Subject: [PATCH] fixpatch: projectm 3.1.12 This PR should fix dpf-plugins building fault: https://archriscv.felixc.at/.status/log.htm?url=logs/dpf-plugins/dpf-plugins-1.7-2.log , although projectm itself can be built successfully with current riscv64 patch. The current PR use autoreconf to update the outdated config.{guess,sub} , while also updating libtool at the same time, which breaking the behavior of sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool in the original PKGBUILD, which causes projectm to be overlinked, more specifically linking libprojectm.so to libqt5gui.so and libqt5opengl.so, meanwhile projectm's depends not containing qt5-base. Although, the dpf-plugins doesn't depend on qt5-base, then, boom. --- projectm/riscv64.patch | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/projectm/riscv64.patch b/projectm/riscv64.patch index ec53143ba..e52505fb2 100644 --- a/projectm/riscv64.patch +++ b/projectm/riscv64.patch @@ -1,13 +1,10 @@ -diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD -index 7bbee18..fc53a9d 100644 --- PKGBUILD +++ PKGBUILD -@@ -18,6 +18,8 @@ sha256sums=('b6b99dde5c8f0822ae362606a0429628ee478f4ec943a156723841b742954707') - +@@ -18,6 +18,7 @@ sha256sums=('b6b99dde5c8f0822ae362606a0429628ee478f4ec943a156723841b742954707') + build() { cd "projectM-$pkgver" -+ autoreconf -fi -+ autoupdate -f ++ cp /usr/share/autoconf/build-aux/config.{sub,guess} . ./configure --prefix=/usr --enable-gles --enable-sdl --enable-threading --enable-qt sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking make