PORTNAME= udmsearch
PORTVERSION= 3.0.23
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www databases
MASTER_SITES= http://search.mnogo.ru/Download/ \
http://udmsearch.real-time.com/Download/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Full featured SQL-based hypertext search engine
BROKEN= Does not build
#BROKEN= Does not build
MAN1= indexer.1
MAN5= indexer.conf.5
--- src/sql.c.orig Tue Sep 19 17:14:21 2000
+++ src/sql.c Mon Oct 13 09:59:28 2003
@@ -204,7 +204,8 @@
#define unlock_url(db) sql_query(db,"UNLOCK TABLES")
static int InitDB(DB*db){
- if (!(mysql_connect(&(db->mysql),DBHost,DBUser,DBPass))){
+ mysql_init(&(db->mysql));
+ if (!(mysql_real_connect(&(db->mysql),DBHost,DBUser,DBPass,DB_DEFAULT,0,NULL,0))){
db->errcode=1;
return(1);
}