mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/giac to 1.9.0.65-1
This commit is contained in:
parent
3f15ee56d8
commit
093f080d0c
2 changed files with 10 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = giac
|
||||
pkgdesc = A free computer algebra system
|
||||
pkgver = 1.9.0.63
|
||||
pkgver = 1.9.0.65
|
||||
pkgrel = 1
|
||||
url = http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
|
||||
arch = x86_64
|
||||
|
@ -33,9 +33,9 @@ pkgbase = giac
|
|||
depends = readline
|
||||
depends = zlib
|
||||
optdepends = perl: for pgiac
|
||||
source = http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_1.9.0-63.tar.gz
|
||||
source = http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_1.9.0-65.tar.gz
|
||||
source = format-security.patch
|
||||
sha256sums = 4015378ad2fe5c9c81d35aad12b5f0bbab5fbe751c67ee8765e0493421646c23
|
||||
sha256sums = d65a552af116886bb087e9d91a666f5572a499d3e54c77bab7ce0fb0fb94cab9
|
||||
sha256sums = 04288944e408807a15aa502e1215087870d8921229c9f9890d862d3c9de337cd
|
||||
|
||||
pkgname = giac
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# - delete shipped x86 binary src/mkjs to force rebuild for ARM
|
||||
|
||||
pkgname=giac
|
||||
_pkgver=1.9.0-63
|
||||
_pkgver=1.9.0-65
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='A free computer algebra system'
|
||||
|
@ -41,7 +41,7 @@ makedepends=(hevea
|
|||
optdepends=('perl: for pgiac')
|
||||
source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgname}_$_pkgver.tar.gz
|
||||
format-security.patch)
|
||||
sha256sums=('4015378ad2fe5c9c81d35aad12b5f0bbab5fbe751c67ee8765e0493421646c23'
|
||||
sha256sums=('d65a552af116886bb087e9d91a666f5572a499d3e54c77bab7ce0fb0fb94cab9'
|
||||
'04288944e408807a15aa502e1215087870d8921229c9f9890d862d3c9de337cd')
|
||||
|
||||
prepare() {
|
||||
|
@ -53,6 +53,11 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd $pkgname-${pkgver%.*}
|
||||
|
||||
# this uses malloc_usable_size, which is incompatible with fortification level 3
|
||||
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
|
||||
CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS" # Fix crashes
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue