|
Subject: xapian-omega runfilter.cc patch Newsgroups: gmane.comp.search.xapian.devel Date: 2008-07-29 18:53:36 GMT (48 weeks, 3 days, 21 hours and 17 minutes ago) 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> _______________________________________________ Xapian-devel mailing list Xapian-devel <at> lists.xapian.org http://lists.xapian.org/mailman/listinfo/xapian-devel |
|
|