Skip to content

Commit

Permalink
libpasastro: fix gcc14 build
Browse files Browse the repository at this point in the history
  • Loading branch information
oldherl committed Oct 14, 2024
1 parent aad5a4c commit cfd8495
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions archlinuxcn/libpasastro/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,28 @@

pkgname=libpasastro
pkgver=1.4.2
pkgrel=1
pkgrel=2
_pkgver="v$pkgver"
pkgdesc="Provide Pascal interface for standard astronomy libraries"
arch=('x86_64')
url="http://www.sourceforge.net/projects/libpasastro/"
license=('GPL')
url="https://github.com/pchev/libpasastro"
license=('GPL-2.0-or-later')
depends=('gcc-libs')
makedepends=('git')
options=()
source=("git+https://github.com/pchev/libpasastro.git#tag=$_pkgver")
sha256sums=('SKIP')
source=("git+https://github.com/pchev/libpasastro.git#tag=$_pkgver"
"https://github.com/pchev/libpasastro/pull/3.patch"
)
sha256sums=('SKIP'
"271ad2f7fd0ff4d8dfd6004cae563abfa5d2d1ba257947f8848215a30f8de0ef"
)

build() {
cd $srcdir/$pkgname
# fix: gcc complains if output directory does not exist
mkdir -p plan404/obj
# fix gcc14 issues
patch -p1 -i ../3.patch
make -j
}

Expand Down

0 comments on commit cfd8495

Please sign in to comment.