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 726458 - implicit declaration of function 'fchmod' on FreeBSD
implicit declaration of function 'fchmod' on FreeBSD
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
unspecified
Other FreeBSD
: Normal normal
: 0.97.3
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-16 15:24 UTC by Ting-Wei Lan
Modified: 2014-03-16 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build problem on FreeBSD (805 bytes, patch)
2014-03-16 15:24 UTC, Ting-Wei Lan
none Details | Review

Description Ting-Wei Lan 2014-03-16 15:24:57 UTC
Created attachment 272064 [details] [review]
Fix build problem on FreeBSD

I got this error when building dia on FreeBSD:
load_save.c:1105:9: error: implicit declaration of function 'fchmod' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

We can change _POSIX_C_SOURCE to 200809L to solve this problem.
Comment 1 Hans Breuer 2014-03-16 15:55:05 UTC
Thanks, pushed to master an dia-0-97:
https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=20ba42ae04725a5ea71ace60da5255632957fbce