1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/print/lyx
Raphael Kubo da Costa 628cd5a558 Add a patch to fix the build on FreeBSD 10.4.
pkg-fallout reports the following error:

    TexRow.cpp:271:6: error: return type 'const TexRow::TextEntry' must match previous return type 'TexRow::TextEntry' when lambda expression has unspecified explicit return type
                                            return text_none;
                                            ^
    TexRow.cpp:273:3: error: return type 'const TexRow::TextEntry' must match previous return type 'TexRow::TextEntry' when lambda expression has unspecified explicit return type
                    return text_none;
                    ^
    TexRow.cpp:288:6: error: return type 'lyx::TexRow::TextEntry' must match previous return type 'const TexRow::TextEntry' when lambda expression has unspecified explicit return type
                                            return last_pos;
                                            ^
    TexRow.cpp:290:6: error: return type 'struct TextEntry' must match previous return type 'const TexRow::TextEntry' when lambda expression has unspecified explicit return type
                                            return entry.text;
                                            ^
    TexRow.cpp:293:3: error: return type 'lyx::TexRow::TextEntry' must match previous return type 'const TexRow::TextEntry' when lambda expression has unspecified explicit return type
                    return last_pos;
                    ^

Make the lambda return type explicit to work around what looks like a bug on an
old clang version.

Not bumping PORTREVISION, as this shouldn't change the code in FreeBSD versions
with a more recent clang.
2018-05-18 10:19:00 +00:00
..
files Add a patch to fix the build on FreeBSD 10.4. 2018-05-18 10:19:00 +00:00
distinfo Update to 2.3.0. 2018-05-16 20:12:25 +00:00
Makefile Update to 2.3.0. 2018-05-16 20:12:25 +00:00
pkg-descr
pkg-message
pkg-plist Update to 2.3.0. 2018-05-16 20:12:25 +00:00