summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew O'Neill2020-07-23 01:21:11 -0400
committerAndrew O'Neill2020-07-23 01:21:11 -0400
commit66258387a099da72f7758495fb0e3c93e16068e7 (patch)
tree199bc6601268c965274fb301f155fbb706f3ea6c /PKGBUILD
parent93bb87bbb8f803dca96ef83c339735ee64e3d801 (diff)
downloadaur-fim.tar.gz
Apply GCC 10 workaround
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2b70091128f..b9a1bcce222 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=fim
_pkgname='trunk'
pkgver=0.6
-pkgrel=2
+pkgrel=3
pkgdesc='FIM (Fbi IMproved) is a highly customizable and scriptable image viewer.'
arch=('i686' 'x86_64')
conflicts=('fim-svn')
@@ -24,6 +24,14 @@ source=("https://download.savannah.gnu.org/releases/fbi-improved/${pkgname}-${pk
sha256sums=('f77f45d38cbd2ddb5a21ce48b6ecb44e7ddcf77d00635d7c7dbe74ea083b8b88'
'8c647abb30baced37aaef6544b66ed2f8709b7ad6636d761f948d85c3071c536')
+prepare() {
+ cd "${pkgname}-${pkgver}-${_pkgname}"
+
+ sed -i -e 's/#define FIM_WANT_BACKGROUND_LOAD.*//' src/fim.h
+ sed -i -e 's/void exit/FIM_NORETURN void exit/' src/CommandConsole.h
+ sed -i -e 's/°//g' src/fim.cpp
+}
+
build() {
cd "${pkgname}-${pkgver}-${_pkgname}"