RE: 2.5.0-Beta15: patch needed

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Mon, 27 Feb 2012 17:56:49 +0000

> -----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

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:31 PST