Skip to content

Instantly share code, notes, and snippets.

@devzendo
Created July 21, 2014 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devzendo/5deb673cdc51deb27d8f to your computer and use it in GitHub Desktop.
Save devzendo/5deb673cdc51deb27d8f to your computer and use it in GitHub Desktop.
Patch to rename unixODBC 2.3.0 .so's
diff -bruN unixODBC-2.3.0.orig/configure unixODBC-2.3.0/configure
--- unixODBC-2.3.0.orig/configure 2010-02-23 12:30:55.000000000 +0000
+++ unixODBC-2.3.0/configure 2014-07-18 15:54:10.504355989 +0100
@@ -15892,7 +15892,7 @@
$as_echo "#define UNIXODBC_SOURCE /**/" >>confdefs.h
-LIB_VERSION="1:0:0"
+LIB_VERSION="2:0:0"
ac_config_headers="$ac_config_headers config.h"
diff -bruN unixODBC-2.3.0.orig/configure.in unixODBC-2.3.0/configure.in
--- unixODBC-2.3.0.orig/configure.in 2010-02-23 12:28:28.000000000 +0000
+++ unixODBC-2.3.0/configure.in 2014-07-18 15:53:43.511985965 +0100
@@ -493,7 +493,7 @@
dnl This is the unixODBC source tree
AC_DEFINE([UNIXODBC_SOURCE],[],[We are building inside the unixODBC source tree])
-LIB_VERSION="1:0:0"
+LIB_VERSION="2:0:0"
AC_SUBST(LIB_VERSION)
AC_CONFIG_HEADERS(config.h)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment