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 748791 - OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3)
OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3)
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
3.16.x
Other OpenBSD
: Normal normal
: ---
Assigned To: file-roller-maint
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2015-05-02 10:37 UTC by Antoine Jacoutot
Modified: 2015-06-14 08:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix implicit declaration of strptime() (887 bytes, patch)
2015-05-02 10:37 UTC, Antoine Jacoutot
none Details | Review

Description Antoine Jacoutot 2015-05-02 10:37:02 UTC
Created attachment 302754 [details] [review]
fix implicit declaration of strptime()

Hi.

strptime(3) was introduced in XPG4. On OpenBSD, just defining
_XOPEN_SOURCE gets you the older XPG3 which doesn't include strptime(3),
so we need to define _XOPEN_SOURCE_EXTENDED to get XPG4v2.

Other GNOME projects (like evolution-data-server) already did the same.
Would it be alright to push that patch?

Thanks.
Comment 1 Antoine Jacoutot 2015-06-14 07:45:16 UTC
Hi.

Anyone care to comment? I'd like to push this to unbreak build on OpenBSD.
Thanks.
Comment 2 Paolo Bacchilega 2015-06-14 08:25:16 UTC
please push, thank you.
Comment 3 Antoine Jacoutot 2015-06-14 08:30:22 UTC
Thanks a lot Paolo.
It's in, 05bba5254f119710473164f4f363ac6bb70d89e9