openbsd-ports/databases/freetds/patches/patch-src_odbc_connectparams_c
sthen 397e66739a update to 20110223 upstream patchset
- backported fix for server_host_name setting in odbc
2011-03-24 12:51:19 +00:00

13 lines
420 B
Plaintext

$OpenBSD: patch-src_odbc_connectparams_c,v 1.3 2011/03/24 12:51:20 sthen Exp $
--- src/odbc/connectparams.c.orig Sat Mar 5 21:58:00 2011
+++ src/odbc/connectparams.c Sat Mar 5 21:58:01 2011
@@ -46,7 +46,7 @@ TDS_RCSID(var, "$Id: connectparams.c,v 1.72.2.1 2011/0
* by build scripts.
*/
#ifndef SYS_ODBC_INI
-#define SYS_ODBC_INI "/etc/odbc.ini"
+#define SYS_ODBC_INI "${SYSCONFDIR}/iodbc/odbc.ini"
#endif
/**