ncurses: fixed build with gcc 5.
This commit is contained in:
@@ -17,3 +17,13 @@ maintainer=\
|
||||
(
|
||||
"Ricardo Martins <rasm@fe.up.pt>"
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$pkg_dir"/patches/*.patch)
|
||||
|
||||
cd "../$pkg-$version"
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user