diff options
author | hans <hans@pkgsrc.org> | 2011-11-01 16:01:34 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-11-01 16:01:34 +0000 |
commit | d7e39d76c26ab89784c08ee87ac54b4ec161b882 (patch) | |
tree | 7da1acdd52cb6676522c7638509526097743a110 /x11 | |
parent | 0414910a55a4f99cb49b00bd4c15db575b68cc6f (diff) | |
download | pkgsrc-d7e39d76c26ab89784c08ee87ac54b4ec161b882.tar.gz |
Fix build with gcc 4.6
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libunique/distinfo | 3 | ||||
-rw-r--r-- | x11/libunique/patches/patch-unique_dbus_uniquebackend-dbus.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/libunique/distinfo b/x11/libunique/distinfo index ff5477ec144..11299aa4184 100644 --- a/x11/libunique/distinfo +++ b/x11/libunique/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2011/09/14 17:56:08 hans Exp $ +$NetBSD: distinfo,v 1.6 2011/11/01 16:01:34 hans Exp $ SHA1 (libunique-1.1.6.tar.gz) = ff9a50781291212d97df0d21ac4bbdbd8443d210 RMD160 (libunique-1.1.6.tar.gz) = 15ae8cc81f978554395fcb194ecb11c7bc6a1938 Size (libunique-1.1.6.tar.gz) = 450569 bytes SHA1 (patch-aa) = 03304df00cc8a793c4937f32daa4cd0719d7e8c0 +SHA1 (patch-unique_dbus_uniquebackend-dbus.c) = 4599bba61aa6ff585016330a89b506cac72a03e9 diff --git a/x11/libunique/patches/patch-unique_dbus_uniquebackend-dbus.c b/x11/libunique/patches/patch-unique_dbus_uniquebackend-dbus.c new file mode 100644 index 00000000000..767555a8cbe --- /dev/null +++ b/x11/libunique/patches/patch-unique_dbus_uniquebackend-dbus.c @@ -0,0 +1,22 @@ +$NetBSD: patch-unique_dbus_uniquebackend-dbus.c,v 1.1 2011/11/01 16:01:34 hans Exp $ + +--- unique/dbus/uniquebackend-dbus.c.orig 2009-11-01 20:15:26.000000000 +0100 ++++ unique/dbus/uniquebackend-dbus.c 2011-10-20 14:18:38.936534307 +0200 +@@ -84,7 +84,7 @@ unique_backend_dbus_register_proxy (Uniq + static gboolean + unique_backend_dbus_request_name (UniqueBackend *backend) + { +- UniqueBackendDBus *backend_dbus; ++ UniqueBackendDBus __attribute__((__unused__)) *backend_dbus; + const gchar *name; + DBusGConnection *connection; + DBusGProxy *proxy; +@@ -186,7 +186,7 @@ unique_backend_dbus_send_message (Unique + GValueArray *data; + gchar *cmd; + gchar *resp; +- gboolean res; ++ gboolean __attribute__((__unused__)) res; + GError *error; + UniqueResponse response; + |