diff -u sqliteodbc-0.80/debian/changelog sqliteodbc-0.80/debian/changelog --- sqliteodbc-0.80/debian/changelog +++ sqliteodbc-0.80/debian/changelog @@ -1,3 +1,10 @@ +sqliteodbc (0.80-1ubuntu1) karmic; urgency=low + + * GCC 4.4 fix, architecture specific issue using a char * as fake va_list + (LP: #438450). + + -- David Sugar Mon, 28 Sep 2009 19:50:15 -0400 + sqliteodbc (0.80-1) unstable; urgency=low * New upstream release (Closes: #516367) diff -u sqliteodbc-0.80/debian/rules sqliteodbc-0.80/debian/rules --- sqliteodbc-0.80/debian/rules +++ sqliteodbc-0.80/debian/rules @@ -6,0 +7 @@ + diff -u sqliteodbc-0.80/debian/control sqliteodbc-0.80/debian/control --- sqliteodbc-0.80/debian/control +++ sqliteodbc-0.80/debian/control @@ -2,7 +2,7 @@ Priority: optional Maintainer: Sam Clegg Build-Depends: debhelper (>= 5), autotools-dev, cdbs, libsqlite-dev, unixodbc-dev, libsqlite3-dev -Standards-Version: 3.7.2 +Standards-Version: 3.8.3 Section: libs Package: libsqliteodbc only in patch2: unchanged: --- sqliteodbc-0.80.orig/sqliteodbc.c +++ sqliteodbc-0.80/sqliteodbc.c @@ -39,6 +39,10 @@ #endif #endif +#if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 3)) +#define CANT_PASS_VALIST_AS_CHARPTR 1 +#endif + #ifdef _WIN64 #define CANT_PASS_VALIST_AS_CHARPTR #endif