After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697688 - OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime/strcasecmp
OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime/strcasecmp
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
0.16.x
Other OpenBSD
: Normal minor
: ---
Assigned To: tracker-general
Depends on:
Blocks:
 
 
Reported: 2013-04-10 07:19 UTC by Antoine Jacoutot
Modified: 2013-04-11 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
define _XOPEN_SOURCE_EXTENDED (1.35 KB, patch)
2013-04-10 07:19 UTC, Antoine Jacoutot
accepted-commit_now Details | Review
define XOPEN_SOURCE_EXTENDED (958 bytes, patch)
2013-04-10 15:52 UTC, Antoine Jacoutot
accepted-commit_now Details | Review

Description Antoine Jacoutot 2013-04-10 07:19:14 UTC
Created attachment 241118 [details] [review]
define _XOPEN_SOURCE_EXTENDED

Hi.

These were introduced in XPG4. On OpenBSD, just defining _XOPEN_SOURCE
gets you the older XPG3 wich doesn't include them, so we need to define
_XOPEN_SOURCE_EXTENDED to get XPG4v2. This fixes several implicit
declarations.

Note that a similar patch was already pushed to evolution-data-server,
eog, gthumb and gnome-system-log some time ago.
Comment 1 Martyn Russell 2013-04-10 10:13:13 UTC
Hello Antoine,

Thank you for the patch, it looks good, please go ahead and commit! :)
Comment 2 Antoine Jacoutot 2013-04-10 12:02:27 UTC
(In reply to comment #1)
> Hello Antoine,
> 
> Thank you for the patch, it looks good, please go ahead and commit! :)

Thank you Martyn, it's in f48e4dc
Comment 3 Antoine Jacoutot 2013-04-10 15:52:43 UTC
Created attachment 241178 [details] [review]
define XOPEN_SOURCE_EXTENDED

I missed this in my previous commit..
Would it be alright to push it? Sorry for the oversight.
Comment 4 Martyn Russell 2013-04-11 09:49:36 UTC
Sure, go ahead. :) Thanks again.
Comment 5 Antoine Jacoutot 2013-04-11 09:57:20 UTC
Thanks :)
It's in: 3443706