GNOME Bugzilla – Bug 676108
build: OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3)
Last modified: 2012-05-21 00:33:55 UTC
Created attachment 214126 [details] [review] add a defined for _XOPEN_SOURCE_EXTENDED Hi. strptime(3) was introduced in XPG4. On OpenBSD, just defining _XOPEN_SOURCE gets you the older XPG3 wich doesn't include strptime(3). To get XPG4, you'll have to add #define _XOPEN_VERSION 4, but doing that may cause some issues. So it is probably better to just ask for XPG4v2 by adding #define _XOPEN_SOURCE_EXTENDED 1. Thoughts?
Looks fine to me, thanks for the patch. Didn't test build it myself on OpenBSD but I'll take your word for it. Committed for Evolution 3.5.2 and 3.4.3: http://git.gnome.org/browse/evolution-data-server/commit/?id=2236bc3631b8f8c4995dabf65d27cdc39c7493f9 http://git.gnome.org/browse/evolution-data-server/commit/?h=gnome-3-4&id=6fe2278f6dc8105ff128166ef232498ad8ab5f8d