svn - but smaller?

Dimitry Andric dim at FreeBSD.org
Mon Jan 28 21:48:04 UTC 2013


On 2013-01-25 19:43, Chris Rees wrote:
> On 25 Jan 2013 18:28, "Dimitry Andric" <dim at freebsd.org <mailto:dim at freebsd.org>> wrote:
...
>  > Thanks, but the port does not link on head, due to a problem in apr:
>  >
>  > /usr/local/lib/libapr-1.a(apr_snprintf.o): In function `apr_vformatter':
>  > /usr/ports/devel/apr1/work/apr-1.4.6/strings/apr_snprintf.c:1023: undefined reference to `isnan'
>  >
>  > The issue is that apr-1-config --libs does not list -lm.  Any idea how
>  > to correct that?
>
> That's a question for Lev really, since it applies equally to devel/subversion.
>
> I'll fix it tomorrow when I'm back at the keyboard unless Lev fixes it first.

I'm currently using the attached patch.  The relevant change is that I
changed the check for modf (which is in our libc) to modff (which is in
libm), the others are just standard fixes for clang.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devel__apr1-2.diff
Type: text/x-diff
Size: 1606 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130128/49b39aaa/attachment.diff>


More information about the freebsd-stable mailing list