cannelloni: needs dynamic library
[buildroot-gz.git] / package / wvstreams / 0003-fix-uClibc-compile-misc.patch
blob690a961c12436989f73edaf06c1d6cab70c16b13
1 Fix wvstreams so that it builds with uClibc: const cast problem.
3 Signed-off-by: Simon Dawson <spdawson@gmail.com>
5 diff -Nurp a/crypto/wvx509.cc b/crypto/wvx509.cc
6 --- a/crypto/wvx509.cc 2008-10-23 21:23:49.000000000 +0100
7 +++ b/crypto/wvx509.cc 2012-06-15 18:45:06.605899292 +0100
8 @@ -1157,7 +1157,7 @@ WvString WvX509::get_extension(int nid)
10 if (ext)
12 - X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
13 + X509V3_EXT_METHOD *method = const_cast<X509V3_EXT_METHOD *>(X509V3_EXT_get(ext));
14 if (!method)
16 WvDynBuf buf;