On Tue, 02 Oct 2012 15:13:06 -0400, Hanspeter Niederstrasser 
<f...@snaggledworks.com> wrote:
On 10/2/2012 7:59 AM, Andrew Buckeridge wrote:
> > Did fink self-update and then fink update-all, but it failed. 
> > See attached. 
>
> > gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=\"/sw/etc\" 
> -DLOCALEDIR=\"/sw/share/locale\" -I. -I..  -I../gnulib -I../gnulib 
> -I/sw/include  -g -O2 -MT tls.o -MD -MP -MF .deps/tls.Tpo -c -o tls.o 
> tls.c
> > tls.c: In function 'tls_check_cert':
> > tls.c:816: error: 'STACK' undeclared (first use in this function)
> > tls.c:816: error: (Each undeclared identifier is reported only once
> > tls.c:816: error: for each function it appears in.)
> > tls.c:816: error: 'subj_alt_names' undeclared (first use in this function)
> > tls.c: In function 'tls_init':
> > tls.c:1100: warning: assignment discards qualifiers from pointer 
> target type
>
> I can confirm this on 10.6/i386 (no other combo tested).  msmtp-ssl 
> now uses openssl100-dev.  If I downgrade to openssl098-dev, the build 
> succeeds. 
>
> Dan, you committed the update to openssl100.  Did it work for you?

Worked for me at the time. STACK looks like it was deprecated a while 
ago but maybe still existed in older openssl100 versions? I pushed an 
upstream patch to tls.c and now it compiles for me again (tested on 
10.6/i386 and 10.7). There is a newer upstream release but it adds a 
lot of new things (like optional gnome/glib use?) so I didn't push it 
because I'm not maintainer. He might also want to address the lack of 
swappability (seems like the msmtp and msmtp-ssl variants should be 
able to displace each other using Conflicts/Replaces tags). 

dan

  --
Daniel Macks
dma...@netspace.org



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to