diff options
author | mycroft <mycroft@pkgsrc.org> | 2002-07-19 03:22:17 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2002-07-19 03:22:17 +0000 |
commit | 26b2b82afdb50b9216885ef0581f2e2cace5ce60 (patch) | |
tree | a27fbd75ec34fda27a56ed500ccf6ffb2910a639 /graphics/png | |
parent | 3c36be9012e5ad057f7bee9d59272efe18767574 (diff) | |
download | pkgsrc-26b2b82afdb50b9216885ef0581f2e2cace5ce60.tar.gz |
Fix LP64 printf() problems.
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/distinfo | 3 | ||||
-rw-r--r-- | graphics/png/patches/patch-ab | 35 |
2 files changed, 37 insertions, 1 deletions
diff --git a/graphics/png/distinfo b/graphics/png/distinfo index 68f39dcac68..5ceb4d7ca09 100644 --- a/graphics/png/distinfo +++ b/graphics/png/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2002/05/16 03:00:02 grant Exp $ +$NetBSD: distinfo,v 1.8 2002/07/19 03:22:17 mycroft Exp $ SHA1 (libpng-1.2.1.tar.bz2) = e9efb0bfabf365726abdf84571ef5d445753a513 Size (libpng-1.2.1.tar.bz2) = 365115 bytes SHA1 (patch-aa) = be98bd25c8597df17bda14567ae2f128247a35e0 +SHA1 (patch-ab) = 38db834829b3aeb39a13152245d9a0ec673c4f47 diff --git a/graphics/png/patches/patch-ab b/graphics/png/patches/patch-ab new file mode 100644 index 00000000000..4338679c8db --- /dev/null +++ b/graphics/png/patches/patch-ab @@ -0,0 +1,35 @@ +$NetBSD: patch-ab,v 1.3 2002/07/19 03:22:17 mycroft Exp $ + +--- pngtest.c.orig Wed Dec 12 23:37:22 2001 ++++ pngtest.c Fri Jul 19 03:18:50 2002 +@@ -543,7 +543,7 @@ + } + if (pinfo->next == NULL) + { +- fprintf(STDERR, "Pointer %x not found\n", (unsigned int)ptr); ++ fprintf(STDERR, "Pointer %p not found\n", ptr); + break; + } + ppinfo = &pinfo->next; +@@ -1396,8 +1396,8 @@ + current_allocation); + while (pinfo != NULL) + { +- fprintf(STDERR, " %lu bytes at %x\n", pinfo->size, +- (unsigned int) pinfo->pointer); ++ fprintf(STDERR, " %lu bytes at %p\n", pinfo->size, ++ pinfo->pointer); + pinfo = pinfo->next; + } + } +@@ -1471,8 +1471,8 @@ + current_allocation); + while (pinfo != NULL) + { +- fprintf(STDERR," %lu bytes at %x\n", +- pinfo->size, (unsigned int)pinfo->pointer); ++ fprintf(STDERR," %lu bytes at %p\n", pinfo->size, ++ pinfo->pointer); + pinfo = pinfo->next; + } + } |