Re: [fossil-users] Silencing warnings about deprecated OpenSSL on OS X
Well, you could just do this (see attached patch). Thanks! But should it be restricted to when compiling http_ssl? To Mac OS X? To 10.7? I think restricting it to just Mac OS X is okay. We know that they deprecated OpenSSL, and we don't have any plans to do something with it apart from making OS X users compile their own OpenSSL once Apple removes it, do we? The probability that there be something else deprecated (zlib? functions from libc?) is tiny. -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Silencing warnings about deprecated OpenSSL on OS X
I was curious about this too. Seems they're replacing it with Common Crypto: http://ludovicrousseau.blogspot.com/2011/08/mac-os-x-lion-and-openssl.html Yeah, the big warnings are mostly for App Store developers. They (including me :) have to statically compile OpenSSL or use Common Crypto, or else the reviewers won't approve apps. -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Silencing warnings about deprecated OpenSSL on OS X
On 02/09/2011, at 7:27 PM, Dmitry Chestnykh wrote: Well, you could just do this (see attached patch). Thanks! But should it be restricted to when compiling http_ssl? To Mac OS X? To 10.7? I think restricting it to just Mac OS X is okay. We know that they deprecated OpenSSL, and we don't have any plans to do something with it apart from making OS X users compile their own OpenSSL once Apple removes it, do we? The probability that there be something else deprecated (zlib? functions from libc?) is tiny. OK. So this should do then. -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 fossil-deprecated-decl-v2.patch Description: Binary data ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Silencing warnings about deprecated OpenSSL on OS X
OK. So this should do then. Thank you! -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Silencing warnings about deprecated OpenSSL on OS X
OpenSSL has been deprecated in OS X Lion (boo!), and Apple put warnings everywhere. It's kind of annoying to see this when building Fossil: ./bld/http_ssl_.c: In function ‘ssl_global_init’: ./bld/http_ssl_.c:104: warning: ‘SSL_library_init’ is deprecated (declared at /usr/include/openssl/ssl.h:1553) ... To silence these warnings I build with: CFLAGS=-Wdeprecated-declarations make I'm not familiar with the build system, could someone include this flag for darwin in autosetup? Thanks! -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users