View | Details | Raw Unified | Return to bug 57927
Collapse All | Expand All

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

Return to bug 57927