[vlc-devel] [PATCH] Sqlite Module for VLC, GSoC 09

Srikanth Raju srikiraju at gmail.com
Wed Sep 9 11:22:43 CEST 2009


Hi,

On Wed, Sep 9, 2009 at 6:39 AM, Barry Wardell<barry.wardell at gmail.com> wrote:
> On Tue, Sep 8, 2009 at 6:22 PM, Srikanth Raju <srikiraju at gmail.com> wrote:
>>
>> Hello,
>> The attached patch is modified with these changes
>> * Remove sqlite3_next_stmt(), it should now work with older versions of
>> sqlite on mac osx.
>
> I can confirm that with this removed, it now compiles fine on OSX.
>
>>
>> * Use the non pkgconfig configure in configure.ac, since Apple version
>> does not have the the .pc file.
>
> This new version didn't quite work for me. It complained about HAVE_SQLITE
> not being defined. I needed to change the code to read:
>
> ...
>         AC_DEFINE([SQLITE_MODULE], 1, [Define if you want to use SQLite
> module]) ],
>         AC_MSG_ERROR([sqlite3 is required for sqlite module]) )
>   fi
>   AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" = "yes"])
> fi
>
> where I have added the AM_CONDITIONAL... line. I'm not sure if that is the
> right way to fix things, but it worked for me. Maybe someone who has a
> better knowledge of the build sytem than I do would have a different/better
> fix.

Wow, thanks. Included.

>
> Regards,
> Barry
>



-- 
Regards,
Srikanth Raju
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Sqlite-Module-for-VLC.patch
Type: text/x-diff
Size: 29155 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090909/004db45e/attachment.patch>


More information about the vlc-devel mailing list