tags 358822 +patch
thanks

Hello,

with the attached patch 'www-sql' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/www-sql-0.5.7/debian/control ./debian/control
--- ../tmp-orig/www-sql-0.5.7/debian/control    2006-10-16 18:48:41.000000000 
+0000
+++ ./debian/control    2006-10-16 16:04:49.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Hamish Moffatt <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2
-Build-Depends: libpq-dev, libmysqlclient10-dev, debhelper (>= 4)
+Build-Depends: debhelper, libpq-dev, libmysqlclient15-dev
 
 Package: www-mysql
 Architecture: any
diff -urN ../tmp-orig/www-sql-0.5.7/mysql.c ./mysql.c
--- ../tmp-orig/www-sql-0.5.7/mysql.c   1998-11-03 04:58:56.000000000 +0000
+++ ./mysql.c   2006-10-16 18:48:37.000000000 +0000
@@ -143,7 +143,7 @@
   }
 
   conn = xmalloc(sizeof(MYSQL));
-  mysql_connect(conn, host, user, pass);
+  mysql_real_connect(conn, host, user, pass, 0, 0, 0, 0);
 #ifdef mysql_errno
   if (mysql_errno(conn)) {
     fprintf(yyout, "<p>Connect: %s</p>\n", mysql_error(conn));


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to