Skip to content

Commit

Permalink
fixpatch: projectm 3.1.12
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Cryolitia committed Oct 10, 2024
1 parent 5cbbc18 commit 5db76d4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions projectm/riscv64.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5db76d4

Please sign in to comment.