[ooo-build-commit] patches/dev300
René Engelhard
rene at kemper.freedesktop.org
Sat Dec 12 16:16:55 PST 2009
patches/dev300/apply | 3 +++
patches/dev300/mysqlcppconn-mysqlclient-SONAME.diff | 18 ++++++++++++++++++
2 files changed, 21 insertions(+)
New commits:
commit e4567d9a8f9b68637b8ed870389e33061dac51b2
Author: Rene Engelhard <rene at debian.org>
Date: Sat Dec 12 12:58:31 2009 +0100
open libmysqlclient_r.so.16 instead of libmysqlclient_r.so
* patches/dev300/mysqlcppconn-mysqlclient-SONAME.diff:
* patches/dev300/apply:
diff --git a/patches/dev300/apply b/patches/dev300/apply
index d9fcc25..9bb38d6 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3339,6 +3339,9 @@ always-save-option-svx.diff, n#556125, i#5226, kohei
# don't throw unnecessary exceptions in sfx2
speed-sfx2-dont-throw-too-much.diff, i#107512, jholesov
+# fix mysqlc to use the SONAME instead of the .so symlink...
+mysqlcppconn-mysqlclient-SONAME.diff
+
[ EMFPlus ]
# 2 upstream patches for emf
diff --git a/patches/dev300/mysqlcppconn-mysqlclient-SONAME.diff b/patches/dev300/mysqlcppconn-mysqlclient-SONAME.diff
new file mode 100644
index 0000000..24be4a8
--- /dev/null
+++ b/patches/dev300/mysqlcppconn-mysqlclient-SONAME.diff
@@ -0,0 +1,18 @@
+--- mysqlcppconn/mysql-connector-cpp.patch-old 2009-12-12 12:50:45.000000000 +0100
++++ mysqlcppconn/mysql-connector-cpp.patch 2009-12-12 12:51:55.000000000 +0100
+@@ -383,3 +383,15 @@
+ +
+ +# --- Targets ------------------------------------------------------
+ +.INCLUDE : target.mk
++diff -urNad mysql-connector-c++-1.0.6~r754~/driver/nativeapi/libmysql_dynamic_proxy.cpp mysql-connector-c++-1.0.6~r754/driver/nativeapi/libmysql_dynamic_proxy.cpp
++--- misc/mysql-connector-cpp/driver/nativeapi/libmysql_dynamic_proxy.cpp 2009-08-20 16:42:14.000000000 +0200
+++++ misc/build/mysql-connector-cpp/driver/nativeapi/libmysql_dynamic_proxy.cpp 2009-08-20 20:25:31.000000000 +0200
++@@ -26,7 +26,7 @@
++ #elif defined(__APPLE__)
++ static const char * const baseName = "libmysqlclient_r.dylib";
++ #else
++-static const char * const baseName = "libmysqlclient_r.so";
+++static const char * const baseName = "libmysqlclient_r.so.16";
++ #endif
++
++ template<typename FunctionType>
More information about the ooo-build-commit
mailing list