summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2022-10-15 12:21:54 -0600
committerMark Wagie2022-10-15 12:21:54 -0600
commit2f842f677a852ae477a6939536d9155b97e6805f (patch)
tree532170a10331f8406fb401b64dd89c2b47ba641f
parent9d3a46639d134c994284ce00b1dd7dc9ef903f39 (diff)
downloadaur-2f842f677a852ae477a6939536d9155b97e6805f.tar.gz
fix crash
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88bdf23359b1..886f3d338418 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = timeshift
pkgdesc = A system restore utility for Linux
pkgver = 22.06.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/linuxmint/timeshift
install = timeshift.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 2735ac96c766..95ada7f2fd4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Robert Orzanna <orschiro at gmail dot com>
pkgname=timeshift
pkgver=22.06.5
-pkgrel=1
+pkgrel=2
pkgdesc="A system restore utility for Linux"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/linuxmint/timeshift"
@@ -34,7 +34,12 @@ pkgver() {
prepare() {
cd "$srcdir/$pkgname"
- sed -i -e 's/--Xcc="-O3" //g' src/makefile
+
+ # Use -Os for compilation instead of -O3
+ git fetch https://github.com/teejee2008/timeshift.git && git cherry-pick -n 2d52682 --no-commit
+
+ # #939, #937: Fix crash on ArchLinux and Ubuntu 22.10 Kinetic
+ git fetch https://github.com/teejee2008/timeshift.git && git cherry-pick -n 5a78bb7 --no-commit
# https://github.com/teejee2008/timeshift/pull/685
#patch -Np1 -i "$srcdir"/read-only-btrfs-snapshot.patch