ports/databases/iodbc/patches/patch-iodbcinst_SQLGetTranslator_c

21 lines
664 B
Text

Index: iodbcinst/SQLGetTranslator.c
--- iodbcinst/SQLGetTranslator.c.orig
+++ iodbcinst/SQLGetTranslator.c
@@ -251,7 +251,7 @@ GetTranslator (HWND hwndParent, LPSTR lpszName, WORD c
# endif
#else
- CALL_TRSCHOOSE_DIALBOX ("libiodbcadm.so.2");
+ CALL_TRSCHOOSE_DIALBOX ("libiodbcadm.so");
#endif
if (ret == SQL_NO_DATA)
@@ -308,7 +308,7 @@ GetTranslator (HWND hwndParent, LPSTR lpszName, WORD c
}
/* The last ressort, a proxy driver */
- CALL_CONFIG_TRANSLATOR ("libtranslator.so.2");
+ CALL_CONFIG_TRANSLATOR ("libtranslator.so");
/* Error : ConfigDSN could no be found */
PUSH_ERROR (ODBC_ERROR_LOAD_LIB_FAILED);