[PATCH] Detect boost_signal with autoconf with a C++ compiler

2011-09-12 Thread Raphael Kubo da Costa
Hey there, I maintain the LyX port on FreeBSD, and was recently contacted by a user who was not able to built LyX with GCC 4.5 due to autoconf trying to use gcc instead of g++ to build the source code used to link to boost (LyX is built with --without-included-boost). The patch below should fix t

Re: [PATCH] Detect boost_signal with autoconf with a C++ compiler

2011-09-14 Thread Raphael Kubo da Costa
Jean-Marc Lasgouttes writes: > I found the same code at > http://nerdland.net/2009/07/detecting-c-libraries-with-autotools/ > along with a comment from our own Georg Baum. In fact, the patch was based on this code, plus [1] and [2]. [1] https://github.com/tsuna/boost.m4 [2] http://git.savann

Re: [PATCH] Detect boost_signal with autoconf with a C++ compiler

2011-09-24 Thread Raphael Kubo da Costa
Jean-Marc Lasgouttes writes: > Le 13/09/2011 00:14, Raphael Kubo da Costa a écrit : >> I maintain the LyX port on FreeBSD, and was recently contacted by a user >> who was not able to built LyX with GCC 4.5 due to autoconf trying to use >> gcc instead of g++ to build the sou

Re: [PATCH] Detect boost_signal with autoconf with a C++ compiler

2011-09-25 Thread Raphael Kubo da Costa
Richard Heck writes: > Can you please attach the patch again? Sure :) Index: config/lyxinclude.m4 === --- config/lyxinclude.m4(revision 39661) +++ config/lyxinclude.m4(working copy) @@ -321,8 +321,17 @@ AM_C

[PATCH] Remove FreeBSD checks when defining USE_WCHAR_T.

2013-10-17 Thread Raphael Kubo da Costa
The problems the comments in the build systems refer to seem to have been fixed for years. [1] says the checks in libstdc++ have been improved, and all supported FreeBSD versions enable wchar_t support unconditionally in libstdc++. Additionally, this needlessly impacts FreeBSD when libc++ is used i

Re: [PATCH] Remove FreeBSD checks when defining USE_WCHAR_T.

2013-10-18 Thread Raphael Kubo da Costa
Vincent van Ravesteijn lyx.org> writes: > Ok, it's in. > > Thank you Raphael. Thanks. What's the procedure for getting those changes into 2.0.x and the upcoming 2.1.x series?

[PATCH] listerrors: Use env(1) in the shebang line.

2014-01-25 Thread Raphael Kubo da Costa
Do like the other Python scripts and use the more portable #!/usr/bin/env python instead of #!/usr/bin/python as Python isn't always installed there, especially on non-Linux systems. --- lib/scripts/listerrors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/list

[PATCH] Include locale.h for setlocale(3).

2014-07-16 Thread Raphael Kubo da Costa
Commit 82faa6619239c2e57fba9128899bafe29d728e51 added some calls to setlocale(3) but did not include locale.h. The implicit include is added on some platforms, but not others, such as FreeBSD with libc++. --- src/support/os_unix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/support/o