gnome-recipes: update to 1.4.6.

This commit is contained in:
Enno Boland 2017-07-03 17:39:45 +02:00
parent 8b2cc420b3
commit 02583446d4
2 changed files with 2 additions and 24 deletions

View file

@ -1,22 +0,0 @@
diff --git a/src/gr-recipe-formatter.c b/src/gr-recipe-formatter.c
index 0299562..4b6ed47 100644
--- src/gr-recipe-formatter.c
+++ src/gr-recipe-formatter.c
@@ -48,6 +48,7 @@ get_temperature_unit (void)
GSettings *settings = gr_settings_get ();
unit = g_settings_get_enum (settings, "temperature-unit");
if (unit == GR_TEMPERATURE_UNIT_LOCALE) {
+#ifdef __GLIBC__
const gchar *fmt;
fmt = nl_langinfo (_NL_MEASUREMENT_MEASUREMENT);
@@ -55,6 +56,9 @@ get_temperature_unit (void)
unit = GR_TEMPERATURE_UNIT_FAHRENHEIT;
else
unit = GR_TEMPERATURE_UNIT_CELSIUS;
+#else
+ unit = GR_TEMPERATURE_UNIT_CELSIUS;
+#endif
}
return unit;

View file

@ -1,6 +1,6 @@
# Template file for 'gnome-recipes'
pkgname=gnome-recipes
version=1.4.4
version=1.4.6
revision=1
_libgd_hash=97a852cdf3d37776f9c98f730d7dcbbe995bdeb7
hostmakedepends="glib intltool itstool pkg-config meson git"
@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://wiki.gnome.org/Apps/Recipes"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b8e3bcee39b85437a68039ddb35f6f54cfb3ed7ab2a6320bb74dad4846f186e6
checksum=792585df5cb77ee670ca9eb8e6b0fceb823fe092805c026466f01d153f3e9833
nocross=https://build.voidlinux.eu/builders/armv7l-musl_builder/builds/2155/steps/shell_3/logs/stdio
do_configure() {