git » libcamera.git » commit 7ef43a8

0.0.4-4: add patch to fix exponential callback explosion

author Jan Alexander Steffens
2023-04-14 11:00:57 UTC
committer Jan Alexander Steffens
2023-04-14 11:00:57 UTC
parent 1a3fa50ff0017d88d4c8563efacb277b22665a3d

0.0.4-4: add patch to fix exponential callback explosion

PKGBUILD +5 -1

diff --git a/PKGBUILD b/PKGBUILD
index 734d448..79af414 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=(
 )
 pkgver=0.0.4
 _commit=6a57d964abdb3f24608c0fc2839d96e02eebddeb  # refs/tags/v0.0.4
-pkgrel=3
+pkgrel=4
 pkgdesc="A complex camera support library for Linux, Android, and ChromeOS"
 arch=(x86_64)
 url="https://libcamera.org/"
@@ -53,8 +53,12 @@ _pick() {
 
 prepare() {
   cd $pkgname
+
   # add version, so that utils/gen-version.sh may rely on it
   printf "%s\n" "$pkgver" > .tarball-version
+
+  # Fix exponential callback explosion
+  git cherry-pick -n a146e05125fdac75b8ffb6a818e00a446cec65dd
 }
 
 build() {