From c64cfaccdf8b603b641adcbb15806f1c13ec4e9d63abff53952dea209c2927df Mon Sep 17 00:00:00 2001 From: "Michal Hrusecky (old before rename to _miska_)" Date: Thu, 15 Nov 2012 14:34:46 +0000 Subject: [PATCH] test OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=20 --- unixODBC-gccwarnings.patch | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/unixODBC-gccwarnings.patch b/unixODBC-gccwarnings.patch index 6a7257a..8cdfbf1 100644 --- a/unixODBC-gccwarnings.patch +++ b/unixODBC-gccwarnings.patch @@ -39,9 +39,12 @@ Index: Drivers/nn/connect.c =================================================================== --- Drivers/nn/connect.c.orig +++ Drivers/nn/connect.c -@@ -14,6 +14,7 @@ +@@ -13,7 +13,10 @@ + GNU General Public License for more details. **/ #include ++#include ++#include #include "driver.h" +#include "misc.h" @@ -116,3 +119,16 @@ Index: Drivers/nn/yylex.c static int getcmpopidxbyname(char* name) { +Index: exe/iusql.c +=================================================================== +--- exe/iusql.c.orig ++++ exe/iusql.c +@@ -29,6 +29,8 @@ + static int OpenDatabase( SQLHENV *phEnv, SQLHDBC *phDbc, char *szDSN, char *szUID, char *szPWD ); + static int ExecuteSQL( SQLHDBC hDbc, char *szSQL, char cDelimiter, int bColumnNames, int bHTMLTable ); + static int ExecuteHelp( SQLHDBC hDbc, char *szSQL, char cDelimiter, int bColumnNames, int bHTMLTable ); ++static int CloseDatabase( SQLHENV hEnv, SQLHDBC hDbc ); ++ + + static void WriteHeaderHTMLTable( SQLHSTMT hStmt ); + static void WriteHeaderNormal( SQLHSTMT hStmt, SQLCHAR *szSepLine );