summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a2c7902f3bab..a59e3b801185 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {