diff options
author | wiz <wiz@pkgsrc.org> | 2016-02-04 13:59:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-02-04 13:59:38 +0000 |
commit | d9a73ca0b69801bc62c03340ddacf09cf4af65ba (patch) | |
tree | 9c7d3772299a18a6deee2ea5f7112801398708bb /net | |
parent | 0fbc7eef44db4734783ac6d58f6e0e66cd66a696 (diff) | |
download | pkgsrc-d9a73ca0b69801bc62c03340ddacf09cf4af65ba.tar.gz |
Fix build on NetBSD-current, where it warns about the unportable
'%m' format string.
From coypu.
Diffstat (limited to 'net')
-rw-r--r-- | net/gnome-online-accounts/distinfo | 3 | ||||
-rw-r--r-- | net/gnome-online-accounts/patches/patch-src_daemon_goadaemon.c | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/net/gnome-online-accounts/distinfo b/net/gnome-online-accounts/distinfo index 8d4791bb425..8ef34aa0dcb 100644 --- a/net/gnome-online-accounts/distinfo +++ b/net/gnome-online-accounts/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 00:35:02 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/02/04 13:59:38 wiz Exp $ SHA1 (gnome-online-accounts-3.16.3.tar.xz) = a5d5e1bd69b8e0b7bf1f10621610790de38ed78a RMD160 (gnome-online-accounts-3.16.3.tar.xz) = 609caac3c6af40fd24439d440f3f31f618191b60 SHA512 (gnome-online-accounts-3.16.3.tar.xz) = 34056d996b6d2d217375e1a86ff544915ae707759b64c77030366f9d3d34c0c735869130beb7fe94bbd949adc46d87153de47afa2fe1bcd3f175c6c420037145 Size (gnome-online-accounts-3.16.3.tar.xz) = 1420940 bytes +SHA1 (patch-src_daemon_goadaemon.c) = 2d00048c8888097488ba41f036d9057268b7293e diff --git a/net/gnome-online-accounts/patches/patch-src_daemon_goadaemon.c b/net/gnome-online-accounts/patches/patch-src_daemon_goadaemon.c new file mode 100644 index 00000000000..d582273fcd1 --- /dev/null +++ b/net/gnome-online-accounts/patches/patch-src_daemon_goadaemon.c @@ -0,0 +1,24 @@ +$NetBSD: patch-src_daemon_goadaemon.c,v 1.1 2016/02/04 13:59:38 wiz Exp $ + +'%m' is only supported in syslog(3). +https://bugzilla.gnome.org/show_bug.cgi?id=761262 + +--- src/daemon/goadaemon.c.orig 2015-06-09 10:34:12.000000000 +0000 ++++ src/daemon/goadaemon.c +@@ -17,6 +17,7 @@ + */ + + #include "config.h" ++#include <errno.h> + #include <glib/gi18n.h> + #include <gio/gdesktopappinfo.h> + #include <rest/rest-proxy.h> +@@ -248,7 +249,7 @@ goa_daemon_init (GoaDaemon *self) + path = g_strdup_printf ("%s/goa-1.0", g_get_user_config_dir ()); + if (g_mkdir_with_parents (path, 0755) != 0) + { +- g_warning ("Error creating directory %s: %m", path); ++ g_warning ("Error creating directory %s: %s", path, strerror(errno)); + } + g_free (path); + |