FreeBSD Bugzilla – Attachment 36020 Details for
Bug 57927
Fix port: www/udmsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.20 KB, created by
Cheng-Lung Sung
on 2003-10-13 03:10:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Cheng-Lung Sung
Created:
2003-10-13 03:10:11 UTC
Size:
1.20 KB
patch
obsolete
>diff -ruN /usr/ports/www/udmsearch/Makefile udmsearch/Makefile >--- /usr/ports/www/udmsearch/Makefile Mon Oct 13 09:32:51 2003 >+++ udmsearch/Makefile Mon Oct 13 10:01:02 2003 >@@ -7,7 +7,7 @@ > > 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/ \ >@@ -16,7 +16,7 @@ > 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 >diff -ruN /usr/ports/www/udmsearch/files/patch-sql.c udmsearch/files/patch-sql.c >--- /usr/ports/www/udmsearch/files/patch-sql.c Thu Jan 1 08:00:00 1970 >+++ udmsearch/files/patch-sql.c Mon Oct 13 09:59:57 2003 >@@ -0,0 +1,12 @@ >+--- 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); >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57927
: 36020