diff options
author | kmille | 2022-04-03 11:04:18 +0200 |
---|---|---|
committer | kmille | 2022-04-03 11:04:18 +0200 |
commit | 2e5bd295bd35a2c07d1370a4c031a48f1b51d7aa (patch) | |
tree | 4a98e5907ca0356b75e0f1a623d710168880e3d7 /PKGBUILD | |
parent | 08297bd7c64fef0f21574025f7bcd1e2da95b1ab (diff) | |
download | aur-fprint_demo.tar.gz |
Fix -Werror=format-security erro during build
The compiler option was added recently and doesn't build us the software
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=fprint_demo pkgver=0.4 -pkgrel=2 +pkgrel=3 pkgdesc='A simple GTK+ application to demonstrate and test libfprint'"'"'s capabilities' arch=('i686' 'x86_64') url='https://www.freedesktop.org/wiki/Software/fprint/fprint_demo/' @@ -18,6 +18,9 @@ prepare() { cd "${pkgname}-${pkgver}" sed -i 's|libfprint|libfprint-0|' configure.ac sed -i 's|include <libfprint/|include <libfprint-0/|g' src/{*.c,*.h} + + # fix: -Werror=format-security + sed -i 's|GTK_BUTTONS_CLOSE, error->message);|GTK_BUTTONS_CLOSE, "%s", error->message);|' src/verify.c } build() { |