diff options
author | Fredy García | 2024-07-11 23:16:02 -0500 |
---|---|---|
committer | Fredy García | 2024-07-11 23:16:02 -0500 |
commit | e9296485d81949cdd89530f122cb74c67eef7d00 (patch) | |
tree | 0be5ba6f451b03064df91cae741312fcf7cf131b /PKGBUILD | |
parent | 08428f5b59ea7519e062e6b3133736a81ec2b5fb (diff) | |
download | aur-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-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 \ |