GNOME Bugzilla – Bug 676461
build: OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3)
Last modified: 2012-05-23 16:38:31 UTC
Created attachment 214537 [details] [review] define _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?
I guess it's okay as setting _XOPEN_SOURCE to 500 seems to enable more (unneeded) stuff. Thanks. commit b7c68b1ffe2ebcc81d6daa947d8ee94ad4e7e2c5 Author: Antoine Jacoutot <> Date: Mon May 21 08:08:18 2012 +0200 build: OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3) strptime(3) was introduced in XPG4. On OpenBSD, just defining _XOPEN_SOURCE gets you the older XPG3 wich doesn't include strptime(3), so we need to define _XOPEN_SOURCE_EXTENDED to get XPG4v2. --- This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.