summaryrefslogtreecommitdiff
path: root/sysutils/same
diff options
context:
space:
mode:
authorjoerg <joerg>2013-09-10 14:44:28 +0000
committerjoerg <joerg>2013-09-10 14:44:28 +0000
commit78becd9e13d3f9fff6bd3f1edd97db1c6a695edf (patch)
tree3578e5aabadad9617155ca4e762324a6b755ba55 /sysutils/same
parent23f6aadcd0b9391d23d89ea654ad05c011edf529 (diff)
downloadpkgsrc-78becd9e13d3f9fff6bd3f1edd97db1c6a695edf.tar.gz
Use z modifier for size_t.
Diffstat (limited to 'sysutils/same')
-rw-r--r--sysutils/same/distinfo4
-rw-r--r--sysutils/same/patches/patch-ac15
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;
}