From 26bfdf38bea635d4be295a356a84d5fcf3a6b1c9 Mon Sep 17 00:00:00 2001 From: brad Date: Mon, 5 Apr 2004 22:09:05 +0000 Subject: [PATCH] (process_mips_specific): Print conflictsno as an unsigned long. From: binutils CVS HEAD branch, based on rev 1.231 Provided by: Daniel Lucq --- .../stable/patches/patch-binutils_readelf_c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devel/binutils/stable/patches/patch-binutils_readelf_c diff --git a/devel/binutils/stable/patches/patch-binutils_readelf_c b/devel/binutils/stable/patches/patch-binutils_readelf_c new file mode 100644 index 00000000000..d01ee0b96ae --- /dev/null +++ b/devel/binutils/stable/patches/patch-binutils_readelf_c @@ -0,0 +1,14 @@ +$OpenBSD: patch-binutils_readelf_c,v 1.1 2004/04/05 22:09:05 brad Exp $ +--- binutils/readelf.c.orig 2004-04-05 06:14:04.000000000 -0400 ++++ binutils/readelf.c 2004-04-05 06:14:44.000000000 -0400 +@@ -10011,8 +10011,8 @@ process_mips_specific (file) + free (econf64); + } + +- printf (_("\nSection '.conflict' contains %ld entries:\n"), +- (long) conflictsno); ++ printf (_("\nSection '.conflict' contains %lu entries:\n"), ++ (unsigned long) conflictsno); + puts (_(" Num: Index Value Name")); + + for (cnt = 0; cnt < conflictsno; ++cnt)