Package: aspseek-libmysqldb
Followup-For: Bug #299157

Hi,

Applying the patch:
--- debian/control      2005-06-18 22:21:07.071686072 +0300
+++ debian/control      2005-06-18 22:06:49.000000000 +0300
@@ -3,7 +3,7 @@
 Section: misc
 Maintainer: Matt Sullivan <[EMAIL PROTECTED]>
 Standards-Version: 3.5.5
-Build-Depends: debhelper (>= 2.1.0), libmysqlclient10-dev, zlib1g-dev, 
libtool, automake, autoconf, apache-dev
+Build-Depends: debhelper (>= 2.1.0), libmysqlclient12-dev, zlib1g-dev, 
libtool, automake, autoconf, apache-dev

 Package: aspseek
 Architecture: any

casued a build problem at:
mysqldb.cpp: In member function `virtual char* CMySQLDatabase::DispError()':
mysqldb.cpp:409: error: invalid conversion from `const char*' to `char*'

so applying this solved it:
--- src/mysql/mysqldb.cpp       2005-06-18 22:20:24.643136192 +0300
+++ src/mysql/mysqldb.cpp       2005-06-18 22:06:00.533500824 +0300
@@ -404,7 +404,7 @@

 char* CMySQLDatabase::DispError(void)
 {
-       char *str;
+       const char *str;
        int len;
        str = mysql_error(&m_my);
        len = strlen(str);

Enjoy.

Lior Kaplan

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


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

Reply via email to