diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2008-08-20 03:51:46 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2008-08-20 03:51:46 +0000 |
commit | 17e4c5c865e57f85a2db5c5bc7492ce063d85c5c (patch) | |
tree | 76c9841fed69ac2ddd42d763bc71c53d1ac689c8 | |
parent | f8dc915e7d3a89ebe401025dc9591de9fdb07ea1 (diff) | |
download | ports-17e4c5c865e57f85a2db5c5bc7492ce063d85c5c.tar.gz ports-17e4c5c865e57f85a2db5c5bc7492ce063d85c5c.zip |
Notes
-rw-r--r-- | textproc/rast/Makefile | 5 | ||||
-rw-r--r-- | textproc/rast/files/patch-local_db.c | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/textproc/rast/Makefile b/textproc/rast/Makefile index d4a8bbc10160..8974b96615ec 100644 --- a/textproc/rast/Makefile +++ b/textproc/rast/Makefile @@ -18,15 +18,14 @@ COMMENT= Full-text search system using N-gram BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf LIB_DEPENDS= apr-1:${PORTSDIR}/devel/apr -BROKEN= does not compile - USE_AUTOTOOLS= libtool:15 USE_BZIP2= YES USE_BDB= 42 GNU_CONFIGURE= YES USE_GMAKE= YES USE_RUBY= YES -CONFIGURE_ARGS= --with-apr-config=${LOCALBASE}/bin/apr-1-config \ +CONFIGURE_ARGS= \ + --with-apr-config=${LOCALBASE}/bin/apr-1-config \ --with-apu-config=${LOCALBASE}/bin/apu-1-config \ --with-db-includes="-I${BDB_INCLUDE_DIR}" \ --with-db-libs="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \ diff --git a/textproc/rast/files/patch-local_db.c b/textproc/rast/files/patch-local_db.c new file mode 100644 index 000000000000..22b9cf8580f5 --- /dev/null +++ b/textproc/rast/files/patch-local_db.c @@ -0,0 +1,11 @@ +--- src/local_db.c.orig 2008-08-20 12:45:58.597538000 +0900 ++++ src/local_db.c 2008-08-20 12:46:33.000000000 +0900 +@@ -2111,7 +2111,7 @@ + + encoding_module = docs[i]->db->encoding_module; + tf = APR_RING_FIRST(docs[i]->terms); +- if (tf == APR_RING_SENTINEL(&docs[i]->terms, ++ if (tf == APR_RING_SENTINEL(docs[i]->terms, + rast_term_frequency_t, link)) { + error = get_summary(pool, encoding_module, + summary, summary_nbytes, |