diff options
Diffstat (limited to 'textproc')
-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, |