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 660787 - Fix build on systems without LC_MEASUREMENT
Fix build on systems without LC_MEASUREMENT
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Region & Language
git master
Other OpenBSD
: Normal major
: ---
Assigned To: Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-03 13:20 UTC by Antoine Jacoutot
Modified: 2011-10-03 13:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
only use LC_MEASUREMENT if it's defined (1.07 KB, patch)
2011-10-03 13:20 UTC, Antoine Jacoutot
committed Details | Review

Description Antoine Jacoutot 2011-10-03 13:20:58 UTC
Created attachment 198084 [details] [review]
only use LC_MEASUREMENT if it's defined

Hi.

LC_MEASUREMENT is not posix and may not be defined on all systems (it's not on OpenBSD, which breaks the build).

This patch only takes care of the ifdef part: the measurement display is not removed from the panel (just set to an empty label). That is to follow the current behavior of the "currency" display (which is also empty for me).
If you want the labels to actually not display if they are empty, let me know.