Make ncurses build with GCC 5.0 and up
authorkan <kan@FreeBSD.org>
Thu, 27 Aug 2015 14:00:20 +0000 (14:00 +0000)
committerkan <kan@FreeBSD.org>
Thu, 27 Aug 2015 14:00:20 +0000 (14:00 +0000)
commit7da6a7a55a185157c5aa27f2f62516852afdfa05
treeda629491d6386cc8d5ce3eeb4bf3460559c8ec22
parent956823f74dbb8aeab18ab05c177891148a958f92
Make ncurses build with GCC 5.0 and up

Merge the end result of two upstream changes:

Original fix from 20141206:
  + modify MKlib_gen.sh to work around change in development version of
    gcc introduced here:
            https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
            https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
    (reports by Marcus Shawcroft, Maohui Lei).

Later fixed in different manner in 20150725:
  + use alternate workaround for gcc 5.x feature (adapted from patch by
    Mikhail Peselnik).
contrib/ncurses/ncurses/base/MKlib_gen.sh