Wed Sep 14 17:56:08 2011 UTC ()
Fix build on SunOS.
(hans)
diff -r1.4 -r1.5 pkgsrc/x11/libunique/distinfo
diff -r0 -r1.1 pkgsrc/x11/libunique/patches/patch-aa
--- pkgsrc/x11/libunique/distinfo 2009/11/20 11:32:38 1.4
+++ pkgsrc/x11/libunique/distinfo 2011/09/14 17:56:08 1.5
| @@ -1,5 +1,6 @@ | | | @@ -1,5 +1,6 @@ |
1 | $NetBSD: distinfo,v 1.4 2009/11/20 11:32:38 drochner Exp $ | | 1 | $NetBSD: distinfo,v 1.5 2011/09/14 17:56:08 hans Exp $ |
2 | | | 2 | |
3 | SHA1 (libunique-1.1.6.tar.gz) = ff9a50781291212d97df0d21ac4bbdbd8443d210 | | 3 | SHA1 (libunique-1.1.6.tar.gz) = ff9a50781291212d97df0d21ac4bbdbd8443d210 |
4 | RMD160 (libunique-1.1.6.tar.gz) = 15ae8cc81f978554395fcb194ecb11c7bc6a1938 | | 4 | RMD160 (libunique-1.1.6.tar.gz) = 15ae8cc81f978554395fcb194ecb11c7bc6a1938 |
5 | Size (libunique-1.1.6.tar.gz) = 450569 bytes | | 5 | Size (libunique-1.1.6.tar.gz) = 450569 bytes |
| | | 6 | SHA1 (patch-aa) = 03304df00cc8a793c4937f32daa4cd0719d7e8c0 |
$NetBSD: patch-aa,v 1.1 2011/09/14 17:56:08 hans Exp $
--- unique/bacon/uniquebackend-bacon.c.orig 2009-09-21 14:31:14.000000000 +0200
+++ unique/bacon/uniquebackend-bacon.c 2011-08-05 17:34:20.504049255 +0200
@@ -186,7 +186,7 @@ find_socket_file (const gchar *name)
g_free (basename);
- basename = g_strdup_printf ("%s.%s.%d", name, token, getpid ());
+ basename = g_strdup_printf ("%s.%s.%ld", name, token, (long)getpid ());
path = g_build_filename (tmpdir, basename, NULL);