Package: sqliteodbc / 0.99991-3

Metadata

Package Version Patches format
sqliteodbc 0.99991-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
no distro work.patch | (download)

configure.in | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

 keep upstream build system from doing distro work

1) Don't recreate spec file: unused on Debian,
lib location.patch | (download)

Makefile.in | 35 20 + 15 - 0 !
1 file changed, 20 insertions(+), 15 deletions(-)

 install odbc driver in /usr/lib/odbc and sqlite3 extensions in
 /usr/lib


makefile flags.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 obey all necessary fooflags in makefile


libxml2 pkg config.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
aclocal.m4 | 1 1 + 0 - 0 !
configure.in | 28 3 + 25 - 0 !
3 files changed, 5 insertions(+), 26 deletions(-)

 use pkg-config to find libxml2


Fix incompatible pointer compilation error.patch | (download)

sqlite3odbc.c | 4 2 + 2 - 0 !
sqlite3odbc.h | 2 1 + 1 - 0 !
sqlite4odbc.h | 2 1 + 1 - 0 !
sqliteodbc.c | 4 2 + 2 - 0 !
sqliteodbc.h | 2 1 + 1 - 0 !
5 files changed, 7 insertions(+), 7 deletions(-)

 fix incompatible pointer compilation error
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Fix the following error:
 sqliteodbc.c:2946:24: error: assignment to void (*)(void)
  from incompatible pointer type void (*)(char **)
   [-Wincompatible-pointer-types]
 2946 |             s->rowfree = freerows;
      |                        ^
 sqliteodbc.c:1313:1: note: freerows declared here
 1313 | freerows(char **rowp)
      | ^~~~~~~~

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Fix too many args to gpps compilation error.patch | (download)

sqlite3odbc.c | 3 1 + 2 - 0 !
sqlite3odbc.h | 10 9 + 1 - 0 !
sqlite4odbc.c | 3 1 + 2 - 0 !
sqlite4odbc.h | 10 9 + 1 - 0 !
sqliteodbc.c | 3 1 + 2 - 0 !
sqliteodbc.h | 10 9 + 1 - 0 !
6 files changed, 30 insertions(+), 9 deletions(-)

 fix too many args to gpps() compilation error
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Fixes the following error:
 sqliteodbc.c: In function drvgpps:
 sqliteodbc.c:747:16: error: too many arguments to function d->gpps;
  expected 0, have 6
   747 |         return d->gpps(sect, ent, def, buf, bufsiz, fname);
       |                ^       ~~~~
 In file included from sqliteodbc.c:15:
 sqliteodbc.h:158:11: note: declared here
   158 |     int (*gpps)();
       |           ^~~~

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>