summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFredy García2024-07-11 23:16:02 -0500
committerFredy García2024-07-11 23:16:02 -0500
commite9296485d81949cdd89530f122cb74c67eef7d00 (patch)
tree0be5ba6f451b03064df91cae741312fcf7cf131b /PKGBUILD
parent08428f5b59ea7519e062e6b3133736a81ec2b5fb (diff)
downloadaur-e9296485d81949cdd89530f122cb74c67eef7d00.tar.gz
Adding -Wno-incompatible-pointer-types to avoid error compiling with t4kcommon changed signature of ResSwitchCallback.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 727c230b28d1..e24752a4c070 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=tuxmath
pkgver=2.0.3
-pkgrel=6
+pkgrel=7
pkgdesc="An educational math tutorial game starring Tux, the Linux Penguin"
arch=("i686" "x86_64")
url="https://github.com/tux4kids/${pkgname}/"
@@ -36,6 +36,9 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-upstream-${pkgver}"
+ CFLAGS+=" -Wno-incompatible-pointer-types"
+ CXXFLAGS+=" -Wno-incompatible-pointer-types"
+
./configure \
--prefix=/usr \
--localstatedir=/usr/share/games \