diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-10 14:44:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-10 14:44:28 +0000 |
commit | fee3d9e82f5f266e58a4bd174462d4248cf5c2e5 (patch) | |
tree | 3578e5aabadad9617155ca4e762324a6b755ba55 /sysutils/same | |
parent | bed5e3481a8dea80d98f7652b0f8bdf55827c0d0 (diff) | |
download | pkgsrc-fee3d9e82f5f266e58a4bd174462d4248cf5c2e5.tar.gz |
Use z modifier for size_t.
Diffstat (limited to 'sysutils/same')
-rw-r--r-- | sysutils/same/distinfo | 4 | ||||
-rw-r--r-- | sysutils/same/patches/patch-ac | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/sysutils/same/distinfo b/sysutils/same/distinfo index aa90da9c6b0..f24609691cf 100644 --- a/sysutils/same/distinfo +++ b/sysutils/same/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2006/08/04 22:59:02 rillig Exp $ +$NetBSD: distinfo,v 1.5 2013/09/10 14:44:28 joerg Exp $ SHA1 (same-1.8.tar.gz) = 39d95e70c09703b5c7525a6ea896c097f744d288 RMD160 (same-1.8.tar.gz) = 987e6dc1c99258f00ed831af3fa3f034ebe08134 Size (same-1.8.tar.gz) = 9398 bytes -SHA1 (patch-ac) = 872eb12f82f5875b5980a4bf43c5af18b473fbca +SHA1 (patch-ac) = aeeb53af5ee90558eef3dcb96acbf54378271c50 diff --git a/sysutils/same/patches/patch-ac b/sysutils/same/patches/patch-ac index 7e03ac4f7ed..859019005c5 100644 --- a/sysutils/same/patches/patch-ac +++ b/sysutils/same/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.2 2006/08/04 22:59:02 rillig Exp $ +$NetBSD: patch-ac,v 1.3 2013/09/10 14:44:28 joerg Exp $ ---- same.c.orig 2004-07-16 19:30:01.000000000 +0200 -+++ same.c 2006-08-05 00:57:39.680842400 +0200 +--- same.c.orig 2004-07-16 17:30:01.000000000 +0000 ++++ same.c @@ -106,10 +106,9 @@ * - There is a 1024 (BUFSIZE) character limit to pathnames when using * symlinks. @@ -88,6 +88,15 @@ $NetBSD: patch-ac,v 1.2 2006/08/04 22:59:02 rillig Exp $ unsigned int crc; const char *name; unsigned int hash = 0; +@@ -587,7 +583,7 @@ static void *p_malloc(unsigned int hash, + void *data; + + if (size > sizeof(pool->data)) { +- fprintf(stderr, "Warning: p_malloc() of size %u\n", size); ++ fprintf(stderr, "Warning: p_malloc() of size %zu\n", size); + return malloc(size); + } + @@ -659,7 +655,7 @@ static struct name_entry *alloc_name_ent return entry; } |