Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libtar/files: libtar-1.2.11-free.patch
Date: Fri, 02 Apr 2010 21:49:52
Message-Id: E1NxokO-0002Fv-MO@stork.gentoo.org
1 ssuominen 10/04/02 21:49:48
2
3 Added: libtar-1.2.11-free.patch
4 Log:
5 Don't prestrip and include stdlib.h for free().
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-libs/libtar/files/libtar-1.2.11-free.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libtar/files/libtar-1.2.11-free.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libtar/files/libtar-1.2.11-free.patch?rev=1.1&content-type=text/plain
13
14 Index: libtar-1.2.11-free.patch
15 ===================================================================
16 stdlib.h is required for free()
17
18 --- lib/output.c
19 +++ lib/output.c
20 @@ -20,6 +20,7 @@
21 #include <sys/param.h>
22
23 #ifdef STDC_HEADERS
24 +# include <stdlib.h>
25 # include <string.h>
26 #endif
27
28 --- lib/wrapper.c
29 +++ lib/wrapper.c
30 @@ -18,6 +18,7 @@
31 #include <errno.h>
32
33 #ifdef STDC_HEADERS
34 +# include <stdlib.h>
35 # include <string.h>
36 #endif