Hi, The following patch for runfilter.cc is needed for building xapian-omega on FreeBSD: --- runfilter.cc.orig 2008-07-03 21:16:54.000000000 +0200 +++ runfilter.cc 2008-07-03 21:18:48.000000000 +0200 @@ -25,6 +25,7 @@ #include "safeerrno.h" #include <sys/types.h> #include <stdio.h> +#include <signal.h> #include "safefcntl.h" #ifdef HAVE_SYS_TIME_H Attempting to build xapian-omega 1.0.7 (and 1.0.6 for that matter) without the above patch results in the following compile error: c++ -DHAVE_CONFIG_H -I. -I./common -DCONFIGFILE_SYSTEM=\"/usr/local/etc/omega.conf\" -I/usr/local/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -pipe -march=prescott -fno-strict-aliasing -I/usr/local/include -MT runfilter.o -MD -MP -MF .deps/runfilter.Tpo -c -o runfilter.o runfilter.cc runfilter.cc: In function 'std::string stdout_to_string(const std::string&)': runfilter.cc:69: error: 'SIGCHLD' was not declared in this scope runfilter.cc:69: error: 'SIG_DFL' was not declared in this scope runfilter.cc:69: error: 'signal' was not declared in this scope *** Error code 1 Please CC: me on any replies as I am not subscribed to the xapian-devel mailing list. Thanks. Regards, Brix -- Henrik Brix Andersen <brix at FreeBSD.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 217 bytes Desc: not available URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20080729/78811253/attachment.sig>
On Tue, Jul 29, 2008 at 08:53:36PM +0200, Henrik Brix Andersen wrote:> The following patch for runfilter.cc is needed for building > xapian-omega on FreeBSD:Thanks, applied to trunk and added to the release notes. I'll backport the fix to 1.0.x when I'm next doing a batch. Cheers, Olly