update libpassthrough
[opendreambox.git] / meta-opendreambox / recipes-support / kompex / kompex-sqlite-wrapper / no-exceptions.patch
1 diff -Naur org/inc/KompexSQLiteException.h patched/inc/KompexSQLiteException.h
2 --- org/inc/KompexSQLiteException.h     2012-03-23 23:36:30.000000000 +0100
3 +++ patched/inc/KompexSQLiteException.h 2012-07-19 14:40:27.301651913 +0200
4 @@ -71,5 +71,6 @@
5  #endif // KompexSQLiteException_H\r
6  \r
7  #ifndef KOMPEX_EXCEPT\r
8 -#define KOMPEX_EXCEPT(errorString) throw SQLiteException(__FILE__, __LINE__, errorString)\r
9 +#include <stdio.h>
10 +#define KOMPEX_EXCEPT(errorString) do { fprintf(stderr, "sqlite3 error at %s:%d:%s - %s\n", __FILE__, __LINE__, __func__, std::string(errorString).c_str()); fflush(stderr); } while(0)\r
11  #endif\r