> -----Original Message-----
> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Andreas Schulze
> Sent: Monday, February 27, 2012 2:36 AM
> To: Andreas Schulze
> Cc: Murray S. Kucherawy; opendkim-dev_at_lists.opendkim.org
> Subject: 2.5.0-Beta15: patch needed
>
> hello,
>
> back in the office I feed beta15 into my buildsystem.
> It found a 64bit-portability-issue similar to
> http://lists.opendkim.org/archive/opendkim/dev/2011/12/1257.html
>
> Problem is the missing declaration of strptime.
>
> Attached my patch which may not be portable!
> On Linux, /usr/include/time.h defines strptime only if __USE_XOPEN is
> defined.
Looks like it's not portable, since at least FreeBSD has no idea what __USE_XOPEN means.
I'll see if autoconf has some tools to sort this out, but otherwise we'll need to point people toward appropriate use of CFLAGS.
-MSK
Received on Mon Feb 27 2012 - 17:56:55 PST