pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Segfault building devel/re2c on macOS



On Mon, Jan 3, 2022 at 2:47 PM Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
>
> > I suddenly get mysterious repeatable segfaults building certain packages,
> > most notably devel/re2c.
> bootstrapping with --prefer-native ncurses (or without --prefer-pkgsrc)
> reproducibly fixes that (at least for devel/r2c)! That's weird, isn't it?

Try this patch:

cd usr/pkgsrc/devel/ncurses
mkdir -p patches
curl -L -o patches/patch-ncurses_tty_tty_update.c
https://github.com/eliteraspberries/pkgsrc-eliteraspberries/blob/master/ncurses/patches/patch-ncurses_tty_tty_update.c
bmake mps
bmake deinstall clean
bmake install


Home | Main Index | Thread Index | Old Index