From 00aa49a062ccc758c333353409d4e4c0065a2482 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 11 Mar 2019 10:38:05 +0000 Subject: user/aspell: GCC 8 compilation fix --- user/aspell/APKBUILD | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'user/aspell/APKBUILD') diff --git a/user/aspell/APKBUILD b/user/aspell/APKBUILD index 8da5b4041..88ab8a736 100644 --- a/user/aspell/APKBUILD +++ b/user/aspell/APKBUILD @@ -2,26 +2,26 @@ # Maintainer: pkgname=aspell pkgver=0.60.6.1 -pkgrel=14 +pkgrel=15 pkgdesc="Libre spell checker software" url="http://aspell.net/" arch="all" license="LGPL-2.0+" -subpackages="$pkgname-compat::noarch $pkgname-dev $pkgname-doc - $pkgname-lang" depends="perl" makedepends="ncurses-dev perl" provides="aspell-utils" -source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-compat::noarch $pkgname-dev $pkgname-doc + $pkgname-lang" +source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz + aspell-0.60.6.1-gcc7-fixes.patch + " prepare() { - cd "$builddir" default_prepare update_config_sub } build() { - cd "$builddir" LIBS="-ltinfo" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,12 +34,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } @@ -51,4 +49,5 @@ compat() { mv spell ispell "$subpkgdir"/usr/bin/ } -sha512sums="f310c7590be98406589b5c26ca36a2ecfe4733f0b40fd6c176b96b7955ef2b5cd0ec9a3d770cf132146ae7a896042b4b698945112995ee1ae66adcfa5542247f aspell-0.60.6.1.tar.gz" +sha512sums="f310c7590be98406589b5c26ca36a2ecfe4733f0b40fd6c176b96b7955ef2b5cd0ec9a3d770cf132146ae7a896042b4b698945112995ee1ae66adcfa5542247f aspell-0.60.6.1.tar.gz +7acdd483fa218952775282f42c28998b4901b1c70aeeef307835a205d1cde3fb2912898d08799ee596d744dde55d04e5c4905fb66d8bfa3028d1f5d45bb66d1e aspell-0.60.6.1-gcc7-fixes.patch" -- cgit v1.2.3-70-g09d2