summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrealgagu2020-12-26 22:50:47 -0500
committerfrealgagu2020-12-26 22:50:47 -0500
commit5fbe43dcaabdddce09a3388d99a42bdcef8ee4f2 (patch)
treea7a767a01c24a868b77c5df207ceff66db130667
parentf629d92daa9ccae09a50239108bf17595b04bc2f (diff)
downloadaur-5fbe43dcaabdddce09a3388d99a42bdcef8ee4f2.tar.gz
Using gcc9 to fix runtime segmentation fault.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90ef87d17a6a..660c3edd9847 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = tuxmath
pkgdesc = An educational math tutorial game starring Tux, the Linux Penguin
pkgver = 2.0.3
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/tux4kids/tuxmath/
arch = i686
arch = x86_64
license = custom:OFL
license = GPL
+ makedepends = gcc9
depends = t4kcommon
options = !docs
source = tuxmath-2.0.3.tar.gz::https://github.com/tux4kids/tuxmath/archive/upstream/2.0.3.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 0f2251540ea7..fe2e92202ba2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,13 @@
pkgname=tuxmath
pkgver=2.0.3
-pkgrel=4
+pkgrel=5
pkgdesc="An educational math tutorial game starring Tux, the Linux Penguin"
arch=("i686" "x86_64")
url="https://github.com/tux4kids/${pkgname}/"
license=("custom:OFL" "GPL")
depends=("t4kcommon")
+makedepends=("gcc9")
options=(!docs)
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/tux4kids/${pkgname}/archive/upstream/${pkgver}.tar.gz"
@@ -33,6 +34,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-upstream-${pkgver}"
+ export CC=/usr/bin/gcc-9
./configure \
--prefix=/usr \
--localstatedir=/usr/share/games \