Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

updpatch: libcaca 0.99.beta20-5 #4440

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions libcaca/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
diff --git PKGBUILD PKGBUILD
index 5b00085..dc7c30f 100644
--- PKGBUILD
+++ PKGBUILD
@@ -41,3 +41,11 @@ package() {
@@ -44,6 +44,9 @@ prepare() {
# https://github.com/cacalabs/libcaca/pull/66
git apply -3 ../libcaca-0.99.beta20-CVE-2022-0856.patch

+ # Disable LTO when checking for fsin/fcos/fldln2/...
+ git apply -3 ../libcaca-fix-instruction-detection.patch
+
autoreconf -fi
}

@@ -67,3 +70,6 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
}
+
+source+=("$pkgname-fix-instruction-detection.patch::https://github.com/cacalabs/libcaca/pull/76.patch")
+sha256sums+=('2d40a2c2654369e0583f9c26653b56d6b4306d76ad12c78478de489a8f91160b')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../$pkgname-fix-instruction-detection.patch
+ autoreconf -fi
+}
+source+=("libcaca-fix-instruction-detection.patch::https://github.com/cacalabs/libcaca/pull/76.patch")
+b2sums+=("1cfd28a3777cec6cb8f2bab8ae2f6d9496452e40dd7f0f7a7cf67ebef1a4ac48390e63ce464b1283207545fe8fe050f9789cf39202b513d3d22291dc84521f10")
Loading