diff --git a/fix-sonames.patch b/fix-sonames.patch index ba0b555..22bc252 100644 --- a/fix-sonames.patch +++ b/fix-sonames.patch @@ -48,31 +48,6 @@ Index: csync2-2.0+git.1368794815.cf835a7/db_postgres.c LOOKUP_SYMBOL(dl_handle, PQconnectdb); LOOKUP_SYMBOL(dl_handle, PQstatus); -Index: csync2-2.0+git.1368794815.cf835a7/db_sqlite.c -=================================================================== ---- csync2-2.0+git.1368794815.cf835a7.orig/db_sqlite.c -+++ csync2-2.0+git.1368794815.cf835a7/db_sqlite.c -@@ -56,16 +56,16 @@ static void *dl_handle; - - static void db_sqlite3_dlopen(void) - { -- csync_debug(2, "Opening shared library libsqlite3.so\n"); -+ csync_debug(2, "Opening shared library libsqlite3.so.0\n"); - -- dl_handle = dlopen("libsqlite3.so", RTLD_LAZY); -+ dl_handle = dlopen("libsqlite3.so.0", RTLD_LAZY); - if (dl_handle == NULL) { - csync_fatal -- ("Could not open libsqlite3.so: %s\n" -+ ("Could not open libsqlite3.so.0: %s\n" - "Please install sqlite3 client library (libsqlite3) or use other database (postgres, mysql)\n", - dlerror()); - } -- csync_debug(2, "Reading symbols from shared library libsqlite3.so\n"); -+ csync_debug(2, "Reading symbols from shared library libsqlite3.so.0\n"); - - LOOKUP_SYMBOL(dl_handle, sqlite3_open); - LOOKUP_SYMBOL(dl_handle, sqlite3_close); Index: csync2-2.0+git.1368794815.cf835a7/db_sqlite2.c =================================================================== --- csync2-2.0+git.1368794815.cf835a7.orig/db_sqlite2.c