pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cmocka/patches cmocka: removed unused patch
details: https://anonhg.NetBSD.org/pkgsrc/rev/01970f478a39
branches: trunk
changeset: 316038:01970f478a39
user: adam <adam%pkgsrc.org@localhost>
date: Mon Dec 03 15:17:27 2018 +0000
description:
cmocka: removed unused patch
diffstat:
devel/cmocka/patches/patch-src_cmocka.c | 33 ---------------------------------
1 files changed, 0 insertions(+), 33 deletions(-)
diffs (37 lines):
diff -r 54e484d2cd22 -r 01970f478a39 devel/cmocka/patches/patch-src_cmocka.c
--- a/devel/cmocka/patches/patch-src_cmocka.c Mon Dec 03 15:16:33 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-src_cmocka.c,v 1.1 2018/02/02 10:31:07 jperkin Exp $
-
-C99 fix.
-
---- src/cmocka.c.orig 2015-06-08 12:54:44.000000000 +0000
-+++ src/cmocka.c
-@@ -960,7 +960,7 @@ static int memory_equal_display_error(co
- }
- if (differences) {
- cm_print_error("%d bytes of %p and %p differ\n", differences,
-- a, b);
-+ (const void *)a, (const void *)b);
- return 0;
- }
- return 1;
-@@ -985,7 +985,7 @@ static int memory_not_equal_display_erro
- }
- if (same == size) {
- cm_print_error("%"PRIdS "bytes of %p and %p the same\n", same,
-- a, b);
-+ (const void *)a, (const void *)b);
- return 0;
- }
- return 1;
-@@ -1646,7 +1646,7 @@ void _test_free(void* const ptr, const c
- file, line,
- ptr, (unsigned long)block_info->size,
- block_info->location.file, block_info->location.line,
-- &guard[j]);
-+ (const void *)&guard[j]);
- _fail(file, line);
- }
- }
Home |
Main Index |
Thread Index |
Old Index