openbsd-ports/databases/freetds/patches/patch-src_odbc_connectparams_c

13 lines
424 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_odbc_connectparams_c,v 1.2 2009/10/11 16:33:36 ajacoutot Exp $
--- src/odbc/connectparams.c.orig Sun Jul 1 12:10:52 2007
+++ src/odbc/connectparams.c Sun Oct 11 18:21:53 2009
@@ -46,7 +46,7 @@ TDS_RCSID(var, "$Id: connectparams.c,v 1.72 2007/07/01
* by build scripts.
*/
#ifndef SYS_ODBC_INI
-#define SYS_ODBC_INI "/etc/odbc.ini"
+#define SYS_ODBC_INI "${SYSCONFDIR}/iodbc/odbc.ini"
#endif
/**