Blame SOURCES/so-version-bump.patch

7f47c0
Set the major .so version to 2 for all unixODBC shared libraries, to reflect
7f47c0
the incompatible ABI changes in 2.2.14.
7f47c0
7f47c0
diff -up unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am.soname unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am
7f47c0
--- unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am.soname	2015-08-22 18:39:16.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am	2015-08-25 12:27:47.005775376 +0200
7f47c0
@@ -193,6 +193,6 @@ EXTRA_DIST = \
7f47c0
 	_sqlFreeEnv.c \
7f47c0
 	_sqlFreeStmt.c 
7f47c0
 
7f47c0
-libodbcmini_la_LDFLAGS = -no-undefined -version-info 1:0:0 \
7f47c0
+libodbcmini_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) \
7f47c0
 	-L@msql_libraries@ -lmsql -module
7f47c0
 
7f47c0
diff -up unixODBC-2.3.3/Drivers/nn/Makefile.am.soname unixODBC-2.3.3/Drivers/nn/Makefile.am
7f47c0
--- unixODBC-2.3.3/Drivers/nn/Makefile.am.soname	2014-05-05 10:27:13.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/Drivers/nn/Makefile.am	2015-08-25 12:27:47.007775386 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libnn.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include -I.
7f47c0
 
7f47c0
-libnn_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libnn_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 EXTRA_DIST = \
7f47c0
 	nnconfig.h \
7f47c0
diff -up unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am.soname unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am
7f47c0
--- unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am.soname	2014-05-05 10:27:13.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am	2015-08-25 12:27:47.009775396 +0200
7f47c0
@@ -3,7 +3,7 @@ lib_LTLIBRARIES = libodbcpsql.la
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
 libodbcpsql_la_LDFLAGS = \
7f47c0
-	-version-info 2:0:0 \
7f47c0
+	-version-info $(LIB_VERSION) \
7f47c0
 	-no-undefined \
7f47c0
 	$(LIBSOCKET) $(LIBNSL) \
7f47c0
 	-export-dynamic \
7f47c0
diff -up unixODBC-2.3.3/Drivers/template/Makefile.am.soname unixODBC-2.3.3/Drivers/template/Makefile.am
7f47c0
--- unixODBC-2.3.3/Drivers/template/Makefile.am.soname	2014-05-05 10:27:13.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/Drivers/template/Makefile.am	2015-08-25 12:27:47.012775410 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libtemplate.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include -I. $(LTDLINCL)
7f47c0
 
7f47c0
-libtemplate_la_LDFLAGS = -no-undefined  -version-info 1:0:0 
7f47c0
+libtemplate_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) 
7f47c0
 
7f47c0
 EXTRA_DIST = \
7f47c0
 	driver.h \
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am.soname unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am	2015-08-25 12:27:47.014775420 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcdrvcfg1S.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbcdrvcfg1S_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbcdrvcfg1S_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbcdrvcfg1S_la_SOURCES = drvcfg1.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am.soname unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am	2015-08-25 12:27:47.016775430 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcdrvcfg2S.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbcdrvcfg2S_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbcdrvcfg2S_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbcdrvcfg2S_la_SOURCES = drvcfg2.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/esoob/Makefile.am.soname unixODBC-2.3.3/DRVConfig/esoob/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/esoob/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/esoob/Makefile.am	2015-08-25 12:27:47.017775434 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libesoobS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libesoobS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libesoobS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libesoobS_la_SOURCES = esoobS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am.soname unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am	2015-08-25 12:27:47.019775444 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libmimerS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libmimerS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
7f47c0
+libmimerS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libmimerS_la_SOURCES = mimerS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am.soname unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am	2015-08-25 12:27:47.020775449 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcminiS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbcminiS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbcminiS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbcminiS_la_SOURCES = odbcminiS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am.soname unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am	2015-08-25 12:27:47.023775464 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcmyS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbcmyS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbcmyS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbcmyS_la_SOURCES = odbcmyS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/nn/Makefile.am.soname unixODBC-2.3.3/DRVConfig/nn/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/nn/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/nn/Makefile.am	2015-08-25 12:27:47.024775469 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcnnS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbcnnS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbcnnS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbcnnS_la_SOURCES = drvcfg.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am.soname unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am	2015-08-25 12:27:47.026775478 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liboplodbcS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-liboplodbcS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+liboplodbcS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 liboplodbcS_la_SOURCES = oplodbc.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am.soname unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am	2015-08-25 12:27:47.027775483 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liboraodbcS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-liboraodbcS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+liboraodbcS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 liboraodbcS_la_SOURCES = oraodbcS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am.soname unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am	2015-08-25 12:27:47.029775493 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcpsqlS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbcpsqlS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbcpsqlS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbcpsqlS_la_SOURCES = odbcpsqlS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am.soname unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am	2015-08-25 12:27:47.031775503 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libsapdbS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libsapdbS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libsapdbS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libsapdbS_la_SOURCES = sapdb.c
7f47c0
 
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/tds/Makefile.am.soname unixODBC-2.3.3/DRVConfig/tds/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/tds/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/tds/Makefile.am	2015-08-25 12:27:47.032775507 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libtdsS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libtdsS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libtdsS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libtdsS_la_SOURCES = tdsS.c
7f47c0
 	
7f47c0
diff -up unixODBC-2.3.3/DRVConfig/txt/Makefile.am.soname unixODBC-2.3.3/DRVConfig/txt/Makefile.am
7f47c0
--- unixODBC-2.3.3/DRVConfig/txt/Makefile.am.soname	2014-05-05 10:26:41.000000000 +0200
7f47c0
+++ unixODBC-2.3.3/DRVConfig/txt/Makefile.am	2015-08-25 12:27:47.034775517 +0200
7f47c0
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbctxtS.la
7f47c0
 
7f47c0
 AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
7f47c0
 
7f47c0
-libodbctxtS_la_LDFLAGS = -no-undefined  -version-info 1:0:0 -module
7f47c0
+libodbctxtS_la_LDFLAGS = -no-undefined  -version-info $(LIB_VERSION) -module
7f47c0
 
7f47c0
 libodbctxtS_la_SOURCES = drvcfg.c
7f47c0