Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/net-tools/files/1.60_p20071202044231: 0013-Pull-in-stdlib.h-for-NULL-definition-to-fix-225425.patch
Date: Mon, 09 Jun 2008 05:27:03
Message-Id: E1K5ZuD-0002ye-Tj@stork.gentoo.org
1 vapier 08/06/09 05:26:57
2
3 Added:
4 0013-Pull-in-stdlib.h-for-NULL-definition-to-fix-225425.patch
5 Log:
6 Fix building with gcc-4.3 #225425 by Jose daLuz.
7 (Portage version: 2.2_pre7-r1/cvs/Linux 2.6.25 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+)
8
9 Revision Changes Path
10 1.1 sys-apps/net-tools/files/1.60_p20071202044231/0013-Pull-in-stdlib.h-for-NULL-definition-to-fix-225425.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/net-tools/files/1.60_p20071202044231/0013-Pull-in-stdlib.h-for-NULL-definition-to-fix-225425.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/net-tools/files/1.60_p20071202044231/0013-Pull-in-stdlib.h-for-NULL-definition-to-fix-225425.patch?rev=1.1&content-type=text/plain
14
15 Index: 0013-Pull-in-stdlib.h-for-NULL-definition-to-fix-225425.patch
16 ===================================================================
17 From 0ee63912133943e0837b90e46bec274761d46598 Mon Sep 17 00:00:00 2001
18 From: Mike Frysinger <vapier@g.o>
19 Date: Mon, 9 Jun 2008 01:23:59 -0400
20 Subject: [PATCH] Pull in stdlib.h for NULL definition to fix #225425
21
22 Signed-off-by: Mike Frysinger <vapier@g.o>
23 ---
24 lib/ec_hw.c | 1 +
25 1 files changed, 1 insertions(+), 0 deletions(-)
26
27 diff --git a/lib/ec_hw.c b/lib/ec_hw.c
28 index 825e501..558f26f 100644
29 --- a/lib/ec_hw.c
30 +++ b/lib/ec_hw.c
31 @@ -16,6 +16,7 @@
32
33 #if HAVE_HWEC
34
35 +#include <stdlib.h>
36 #include <net/if_arp.h>
37 #include "net-support.h"
38
39 --
40 1.5.5.3
41
42
43
44
45 --
46 gentoo-commits@l.g.o mailing list