ncurses: fix build with gcc5

This commit is contained in:
Juergen Daubert 2015-06-24 16:23:45 +02:00
parent 880201b747
commit f248571542
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1,2 @@
f9015f670940350a3fc3c2ef347e2b33 ncurses-5.9-gcc5_buildfixes-1.patch
8cb9c412e5f2d96bc6f459aa8c6282a1 ncurses-5.9.tar.gz

View File

@ -4,12 +4,15 @@
name=ncurses
version=5.9
release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
release=3
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
$name-$version-gcc5_buildfixes-1.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-$version-gcc5_buildfixes-1.patch
local OPTIONS="\
--with-install-prefix=$PKG \
--prefix=/usr \