Package: iodbc
Version: 3.52.6-2
Severity: normal
Tags: patch

The /usr/include/sqltypes.h file does not include the iodbcunix.h
file, which causes the sql types defined to be wrong as SIZEOF_LONG
constant is undefined

Patch attached. Please forward upstream and use in Debian.

- Adam


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iodbc depends on:
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libfontconfig1         2.6.0-1           generic font configuration library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.16.5-1          The GLib library of C routines
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libiodbc2              3.52.6-2          iODBC Driver Manager
ii  libpango1.0-0          1.20.5-2          Layout and rendering of internatio
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libx11-6               2:1.1.5-1         X11 client-side library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

iodbc recommends no packages.

iodbc suggests no packages.

-- no debconf information
--- /usr/include/sqltypes.h	2008-03-01 14:23:48.000000000 -0600
+++ ./sqltypes.h	2008-10-03 23:53:08.174074120 -0500
@@ -78,6 +78,9 @@
 #ifndef _SQLTYPES_H
 #define _SQLTYPES_H
 
+#ifndef _IODBCUNIX_H
+#include <iodbcunix.h>
+#endif
 
 /*
  *  Set default specification to  ODBC 3.51

Reply via email to