subscri...@viliar.net.ru:
> > If you want Postfix to support the obsolete API then you
> > cannot remove support for the preferred API.
> 
> Sorry for delay with answer. I'll send this diff as workaround. Because
> I'm not a programmer/coder. Probably correct decision is using some another
> ifdefs here. 
> 
> P.S. For me it's not a problem to live with own patched postfix as I do
> now. But the way you integrate sqlite support in postfix - is a 'kick off'
> CentOS 5 users from using postfix 2.8. It wouldn't compile anymore and I
> don't think is good. How much people will search&patch&compile postfix on
> their own? 
> P.S2. It's not about flame.

Will this work? Unfortunately I can't test Postfix myself on every
version of everything.

        Wietse

*** ./dict_sqlite.c-    Fri Jun 18 20:19:15 2010
--- ./dict_sqlite.c     Thu Sep  9 11:01:12 2010
***************
*** 68,74 ****
  #include <sqlite3.h>
  
  #if !defined(SQLITE_VERSION_NUMBER) || (SQLITE_VERSION_NUMBER < 3005004)
! #error "Your SQLite version is too old"
  #endif
  
  /* Utility library. */
--- 68,74 ----
  #include <sqlite3.h>
  
  #if !defined(SQLITE_VERSION_NUMBER) || (SQLITE_VERSION_NUMBER < 3005004)
! #define sqlite3_prepare_v2 sqlite3_prepare
  #endif
  
  /* Utility library. */

Reply via email to